Friday 29 October 2004 1:30:17 pm
Greetings all; I am running a multi-lingual setup (English and German) for my site. Initially, I setup the site designs as follows:
* en - English content
* de - German content * cms - the admin interface To do this, I used URI siteaccess in my settings/override/site.ini.append.php file. The configuration looked like this:
[SiteAccessSettings]
CheckValidity=false
MatchOrder=uri
AvailableSiteAccessList[]
AvailableSiteAccessList[]=en
AvailableSiteAccessList[]=de
AvailableSiteAccessList[]=cms
SiteAccessList[]
SiteAccessList[]=en
SiteAccessList[]=de
SiteAccessList[]=cms
I recently switched to using Host siteaccess for my installation; the configuration now looks like this:
[SiteAccessSettings]
CheckValidity=false
MatchOrder=host
HostMatchType=map
HostMatchMapItems[]
HostMatchMapItems[]=test.foo.com;en
HostMatchMapItems[]=test.foo.de;de
HostMatchMapItems[]=admin.foo.com;cms
SiteAccessList[]
SiteAccessList[]=en
SiteAccessList[]=de
SiteAccessList[]=cms
Everything worked fine, but I need to flush the caches in order to remove the /en, /de, etc. from the various menu items embedded in the existing templates/pages. Since the admin side was prefixed with /cms for the pages, I could not flush the cache via the normal web interface. I flushed the cache using the command line '/<ezpath>/bin/shell/clearcache.sh --all'. Everything seemed fine; all the pages worked, and I could use all of the functionality of the admin. However, there is one problem I recently found. When I go into "Set Up -> Templates" and edit /node/view/full.tpl, for example, I cannot choose en or de in the site design drop-down box. The only option in it is "admin". Any idea what got nerfed in my configuration and how to fix it? Thanks.
|