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.