Tuesday 16 September 2003 9:38:00 am
You are right that this is a basic property of 3.x, but imho you should use different siteaccess to select the layout, specific images and even language. For thsi route, you need to go into multiple sites with uri based siteaccess. I the override.ini.append of each site, you specify the design tree to use. For example: http://mysite.com/peru becomes the "virtual site" for peru and http://mysite.com/chile the virtual site for chile.. You need to setup two site accesses and two designs called peru and chile which differ only for some country specific files. You specify the siteaccesses in your settings/override/site.ini.append.php as:
----------
[SiteAccessSettings]
...
AvailableSiteAccessList[]=peru AvailableSiteAccessList[]=chile
MatchOrder=uri -------- By specifying MatchOrder=uri, ezp picks up the first element of the URL and uses the settings and design depending on what it finds there It is really simple. If you are on linux/unix, you can even symlink the design directories for almost all files except a few images or other design elements you want to have specific. No need to edit a lot of files, only the ones that are different hth -paul
eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans
|