Forums / Setup & design / which settings for new siteaccess

which settings for new siteaccess

Author Message

Oliver Dzierzon

Thursday 05 February 2009 5:30:23 am

i have some basically questions when adding a new siteaccess.

I added an new siteaccess "de". Therefore i created the directory "de" in the directory "/settings/siteaccess/" and edited the /settings/override/site.ini.append.php"

[SiteSettings]
DefaultAccess=de
SiteList[]=de
SiteList[]=eng
SiteList[]=fre

[SiteAccessSettings]
CheckValidity=false
AvailableSiteAccessList[]=de
AvailableSiteAccessList[]=eng
AvailableSiteAccessList[]=fre

moreover I edited the "site.ini.append.php" in every existing siteaccess directory in this way:

[SiteAccessSettings]
RequireUserLogin=false
RelatedSiteAccessList[]
RelatedSiteAccessList[]=de
RelatedSiteAccessList[]=eng
RelatedSiteAccessList[]=fre

Finaly I extended the anonymous role.

Accessing the new siteaccess "index.php/de/" properly works.

However when working in the admin interface i can't select the new siteaccess when i have to define an template override rule for this new siteaccess. The selectbox only shows me the siteacceses which where previously present.

Fátima Chapri

Sunday 15 February 2009 12:26:29 pm

Hi Oliver,

As could understand, you added the new language editing the settings manually in the file settings.

Did you try to add the new language in the administration interface? Go to Configuration>Languages>Add Language