Skip to content

Instantly share code, notes, and snippets.

@jhurtrel
Created December 13, 2012 09:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jhurtrel/4f0cb951ef072c853a1c to your computer and use it in GitHub Desktop.
Save jhurtrel/4f0cb951ef072c853a1c to your computer and use it in GitHub Desktop.
ezpublish configuration. Try to add a "public" siteaccess
ezpublish:
siteaccess:
default_siteaccess: eng
list:
- ezdemo_site
- eng
- ezdemo_site_admin
- fre
groups:
all_group:
- ezdemo_site
- eng
- fre
- ezdemo_site_admin
eng_group:
- ezdemo_site
- eng
- ezdemo_site_admin
fre_group:
- fre
public_group:
- ezdemo_site
- eng
- fre
match:
URIElement: '1'
system:
public_group:
location_view:
full:
news:
template: MyDesignBundle:full:news.html.twig
match:
Identifier\ContentType: news
news_folder:
template: MyDesignBundle:full:news_folder.html.twig
match:
Identifier\ContentType: news_folder
line:
news:
template: MyDesignBundle:line:news.html.twig
match:
Identifier\ContentType: news
all_group:
database:
type: mysql
user: ezpublish5
password: ezpublish5
server: localhost
database_name: ezpublish5
var_dir: var/ezdemo_site
image_variations:
<all_alias>
eng_group:
languages:
- eng-GB
fre_group:
languages:
- fre-FR
ezdemo_site_admin:
legacy_mode: true
imagemagick:
enabled: true
path: /usr/bin/convert
http_cache:
purge_type: local
<?php /* #?ini charset="utf-8"?
[DatabaseSettings]
DatabaseImplementation=ezmysqli
Server=localhost
Port=
User=ezpublish5
Password=ezpublish5
Database=ezpublish5
Charset=
Socket=disabled
[InformationCollectionSettings]
EmailReceiver=
[Session]
SessionNamePerSiteAccess=disabled
[SiteSettings]
SiteName=eZ Publish Demo Site
SiteURL=<serveur>/ezpublish/ezpublish_5_0/web/fre
LoginPage=embedded
AdditionalLoginFormActionURL=http://<serveur>/ezpublish/ezpublish_5_0/web/ezdemo_site_admin/user/login
[UserSettings]
RegistrationEmail=
[SiteAccessSettings]
RequireUserLogin=false
RelatedSiteAccessList[]
RelatedSiteAccessList[]=ezdemo_site
RelatedSiteAccessList[]=eng
RelatedSiteAccessList[]=ezdemo_site_admin
RelatedSiteAccessList[]=fre
ShowHiddenNodes=false
[DesignSettings]
SiteDesign=ezdemo
AdditionalSiteDesignList[]
AdditionalSiteDesignList[]=ezflow
AdditionalSiteDesignList[]=base
AdditionalSiteDesignList[]=standard
[RegionalSettings]
Locale=eng-GB
ContentObjectLocale=eng-GB
ShowUntranslatedObjects=disabled
SiteLanguageList[]
SiteLanguageList[]=eng-GB
TextTranslation=disabled
[FileSettings]
VarDir=var/ezdemo_site
[ContentSettings]
TranslationList=
[MailSettings]
AdminEmail=jonathan.hurtrel@actimage.com
EmailSender=
*/ ?>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment