Forums / Setup & design / Siteaccess drop down in admin site.

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

eZ debug

Timing: Jan 18 2025 04:05:04
Script start
Timing: Jan 18 2025 04:05:04
Module start 'content'
Timing: Jan 18 2025 04:05:05
Module end 'content'
Timing: Jan 18 2025 04:05:05
Script end

Main resources:

Total runtime1.5183 sec
Peak memory usage4,096.0000 KB
Database Queries205

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 587.7344180.8281
Module start 'content' 0.00631.3634 768.5625630.9375
Module end 'content' 1.36970.1485 1,399.5000341.0859
Script end 1.5183  1,740.5859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.2745210.0002
Check MTime0.00180.1155210.0001
Mysql Total
Database connection0.00130.084410.0013
Mysqli_queries1.416993.31832050.0069
Looping result0.00220.14642030.0000
Template Total1.489498.120.7447
Template load0.00200.134220.0010
Template processing1.487397.956320.7437
Template load and register function0.00020.015010.0002
states
state_id_array0.00100.064610.0010
state_identifier_array0.00200.134620.0010
Override
Cache load0.00200.12951360.0000
Sytem overhead
Fetch class attribute can translate value0.00160.106140.0004
Fetch class attribute name0.00150.095980.0002
XML
Image XML parsing0.00130.086940.0003
class_abstraction
Instantiating content class attribute0.00000.001190.0000
General
dbfile0.00330.2199330.0001
String conversion0.00000.000430.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs