Siteaccess drop down in admin site.

Author Message

cliffp pratt

Wednesday 08 September 2010 2:30:40 am

We have a simple setup with a 'public' site called 'intranet' and an admin site called 'intranet_admin'. Below find the settings for our sites in the relevant ini files. Can someone please explain why the two sites do not appear the siteaccess drop down in the Admin interface unless the two RelatedSiteAccessList entries are present? I though that this should be picked up from override/site.ini.append.php, since this is read to identify the valid siteaccesses. If we had sites using different databases, would we need a separate admin site for each database?

 

Am I correct in thinking that all siteaccesses should have an 'AvailableSiteAccessList' entry in the override/site.ini.append.php, and that all members of a group using the same database should have all members of the group in a RelatedSiteAccessList entry in their siteaccess ini files? And that each database group requires its own Admin site?

 

Cheers,

Cliff

 

<literal>

site.ini

 

--------

 

[SiteSettings]

 

SiteName=eZ Publish

 

SiteURL=example.com

 

MetaDataArray[author]=eZ Systems

 

MetaDataArray[copyright]=eZ Systems

 

MetaDataArray[description]=Content Management System

 

MetaDataArray[keywords]=cms, publish, e-commerce, content management, development framework

 

Dir=

 

IndexPage=/content/view/full/2/

 

ErrorHandler=displayerror

 

DefaultPage=/content/view/full/2/

 

DefaultAccess=admin

 

LoginPage=custom

 

SSLPort=443

 

SSLProxyServerName=localhost

 

SiteList[]

 

override/site.ini.append.php

 

----------------------------

 

[SiteSettings]

 

DefaultAccess=intranet

 

SiteList[]=intranet

 

SiteList[]=intranet_admin

 

RootNodeDepth=1

 

[SiteAccessSettings]

 

CheckValidity=false

 

AvailableSiteAccessList[]=intranet

 

AvailableSiteAccessList[]=intranet_admin

 

MatchOrder=uri

 

HostMatchMapItems[]

 

siteaccess/intranet/site.ini.append.php

 

---------------------------------------

 

[SiteSettings]

 

SiteName=Intranet

 

SiteURL=ak-lan-intranet-prod-01/index.php

 

LoginPage=custom

 

[SiteAccessSettings]

 

RequireUserLogin=false

 

RelatedSiteAccessList[]=intranet

 

RelatedSiteAccessList[]=intranet_admin

 

siteaccess/intranet_admin/site.ini.append.php

 

---------------------------------------------

 

[SiteSettings]

 

SiteName=Intranet

 

SiteURL=intranet.datamail.co.nz/index.php

 

LoginPage=custom

 

[SiteAccessSettings]

 

RequireUserLogin=true

 

RelatedSiteAccessList[]=intranet <---

 

RelatedSiteAccessList[]=intranet_admin <---

 

ShowHiddenNodes=true

</literal>

André R.

Wednesday 08 September 2010 2:52:21 am

> Am I correct in thinking that all siteaccesses should have an 'AvailableSiteAccessList' entry in the override/site.ini.append.php, and that all members of a group using the same database should have all members of the group in a RelatedSiteAccessList entry in their siteaccess ini files? And that each database group requires its own Admin site?

Yes

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

cliffp pratt

Wednesday 08 September 2010 3:41:46 am

LOL! Thanks for your comprehensive reply. I'm glad I'm getting the idea of EZ Publish.

Cheers and thanks Andre.

Cliff

Jean Voye

Wednesday 08 September 2010 4:03:59 am

"

LOL! Thanks for your comprehensive reply. I'm glad I'm getting the idea of EZ Publish.

Cheers and thanks Andre.

"

Is was probably a meaningful "Yes". All your statements were indeed true, congrats for a first shot Cliff !

Let us know how you are progressing on grasping eZ Publish.

Cheers !

--
Nicolas

André R.

Thursday 09 September 2010 12:21:26 am

Well time is money, so why do anything else then precisely answer the question :P

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

cliffp pratt

Wednesday 15 September 2010 8:34:37 pm

Indeed, it needed no more and I'm happy with that. Thanks again. Cliff

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 30 2025 21:16:06
Script start
Timing: Jan 30 2025 21:16:06
Module start 'layout'
Timing: Jan 30 2025 21:16:06
Module start 'content'
Timing: Jan 30 2025 21:16:07
Module end 'content'
Timing: Jan 30 2025 21:16:07
Script end

Main resources:

Total runtime1.4646 sec
Peak memory usage8,192.0000 KB
Database Queries68

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00010.0051 588.2344151.2109
Module start 'layout' 0.00520.0033 739.4453220.6875
Module start 'content' 0.00841.4553 960.13284,533.3203
Module end 'content' 1.46380.0008 5,493.453119.8438
Script end 1.4645  5,513.2969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2646160.0002
Check MTime0.00150.0992160.0001
Mysql Total
Database connection0.00090.059410.0009
Mysqli_queries1.304189.0464680.0192
Looping result0.00070.0474660.0000
Template Total1.410696.320.7053
Template load0.00240.166820.0012
Template processing1.408196.147120.7041
Template load and register function0.00200.136110.0020
states
state_id_array0.00050.035610.0005
state_identifier_array0.00110.077820.0006
Override
Cache load0.00240.16701360.0000
Sytem overhead
Fetch class attribute can translate value0.00200.136430.0007
Fetch class attribute name0.00280.192480.0004
XML
Image XML parsing0.00210.144630.0007
class_abstraction
Instantiating content class attribute0.00000.001690.0000
General
dbfile0.00340.2315220.0002
String conversion0.00000.000440.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
7content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/quote.tpldatatype/ezxmltext/quote.tplextension/ezwebin/design/ezwebin/override/templates/datatype/ezxmltext/quote.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs