Share » Forums » Developer » Template override in multi language site

Template override in multi language site

Template override in multi language site

Wednesday 23 May 2007 4:34:19 am - 5 replies

Modified on Wednesday 23 May 2007 4:35:32 am by Salvatore Guarino

Author Message

Xavier Dutoit

Wednesday 23 May 2007 5:32:38 am

Hi,

What I usually do in these cases and to have one main override and symlink the other siteaccess to it

http://www.sydesy.com

Karl Latiss

Wednesday 23 May 2007 5:04:44 pm

Or you could use AdditionalSiteDesignList[] in each siteaccess' site.ini:

[DesignSettings]
SiteDesign=siteaccess_site_design
AdditionalSiteDesignList[]=common_site_design
AdditionalSiteDesignList[]=base

Atvert Systems
http://www.atvert.com.au

Bruce Morrison

Wednesday 23 May 2007 6:03:08 pm

Hi Salvatore

You could also have an extension that contains the settings/override.ini.append.php that is enabled for all siteaccesses. Also put a site.ini.append.php here with the common DB settings etc.

Cheers
Bruce

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

Salvatore Guarino

Friday 25 May 2007 6:25:04 am

Hi,

thank you for the responses!

I will try with the symlink, it seems the easiest way.

Thank you and bye,

Salvatore

André R.

Friday 25 May 2007 8:15:06 am

For those that want to use the os safe way of doing this that Bruce is mentioning, remember to only specify the extension for the frontpage siteaccess using ActiveAccessExtensions.

So in /settings/siteaccess/*/site.ini.append.php:

[ExtensionSettings]
ActiveAccessExtensions[]=my_settings

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu