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

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

eZ debug

Timing: Jan 18 2025 22:14:19
Script start
Timing: Jan 18 2025 22:14:19
Module start 'layout'
Timing: Jan 18 2025 22:14:19
Module start 'content'
Timing: Jan 18 2025 22:14:20
Module end 'content'
Timing: Jan 18 2025 22:14:20
Script end

Main resources:

Total runtime0.5829 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0060 587.9375152.6250
Module start 'layout' 0.00600.0023 740.562539.4453
Module start 'content' 0.00830.5729 780.0078459.9063
Module end 'content' 0.58120.0016 1,239.91418.1563
Script end 0.5828  1,248.0703 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.5904160.0002
Check MTime0.00140.2356160.0001
Mysql Total
Database connection0.00080.144510.0008
Mysqli_queries0.541392.8700540.0100
Looping result0.00050.0802520.0000
Template Total0.556095.420.2780
Template load0.00220.370920.0011
Template processing0.553895.012320.2769
Template load and register function0.00020.032810.0002
states
state_id_array0.00070.128510.0007
state_identifier_array0.00090.156820.0005
Override
Cache load0.00180.3016150.0001
Sytem overhead
Fetch class attribute can translate value0.00080.137120.0004
Fetch class attribute name0.00090.162520.0005
XML
Image XML parsing0.00020.039420.0001
class_abstraction
Instantiating content class attribute0.00000.000720.0000
General
dbfile0.00160.2683100.0002
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs