Two siteaccesses - could I have only one set of files?

Two siteaccesses - could I have only one set of files?

Friday 07 July 2006 1:09:07 am - 3 replies

Author Message

Łukasz Serwatka

Friday 07 July 2006 1:20:42 am

Hi Osichr,

Setting which control this is in the site.ini.append.php file:

[DesignSettings]
SiteDesign=primary_design
AdditionalSiteDesignList[]=additional_site_design_if_needed

However you will have to take care about override.ini.append.php consistency for both siteacceses. For example when you add new template via admin interface.

http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/designsettings/sitedesign

http://ez.no/doc/ez_publish/technical_manual/3_8/reference/configuration_files/site_ini/designsettings/additionalsitedesignlist

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Osichr Hayez

Friday 07 July 2006 1:58:15 am

Thank you for your answer.

So then If my pagelayuotoverride.tpl doesnt exist in the siteaccess SiteDesign, ez publish will look for a file with the same filename in the directories found in AdditionalSiteDesignList and display that one instead. Am I correct?

(When I do this, and clear cache, my site is blank under one language cause ez publish cant find my pagelayoutoverride)

Łukasz Serwatka

Friday 07 July 2006 2:21:22 am

Yes, that is correct. What errors do you have in debug output? Try manually remove all cache files from var/cache/* and var/(site)/cache/*.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.