Forums / Setup & design / About "RelatedSiteAccessList[]"

About "RelatedSiteAccessList[]"

Author Message

H-Works Agency

Friday 23 July 2010 4:48:45 am

Hello everyone,

I have an old unresolved topic about ezpublish siteaccesses settings setup :

Does RelatedSiteAccessList variable can be used to load in a siteaccess a bunch of settings files from another siteaccess ?

For exemple :

- settings/siteaccess/site_a

Would load in site.ini.append.php : RelatedSiteAccessList[]=common_settings_group_a

located here :

- extension/front_common/settings/siteaccess/common_settings_group_a/

I this would be very valuable to be able to make settings "groups" without making new extensions.

EZP is Great

Ivo Lukac

Friday 23 July 2010 4:56:12 am

IMHO No.

You should post an enhancement request to issues.ez.no as this could be really useful.

Actually there is a way to do it by symbolic linking of files, but it's hard to maintain.

Cheers

http://www.linkedin.com/in/ivolukac
http://www.netgen.hr/eng/blog
http://twitter.com/ilukac

H-Works Agency

Friday 23 July 2010 5:11:49 am

Yes that is the solution i use for now.

As you say its hard to maintain and a single variable change make you redeclare everything.

Regards

EZP is Great

Matthieu Sévère

Friday 23 July 2010 5:15:40 am

there is already an enhancement request that is quite similar : http://issues.ez.no/IssueView.php?Id=15909&activeItem=51

--
eZ certified developer: http://ez.no/certification/verify/346216

André R.

Friday 23 July 2010 5:18:08 am

That setting is to define site accesses that are related, as in share db and var folder and changes in one should affect cache on the other and so on.

As for common settings, that's possible by using ActiveAccessExtensions currently, or ActiveExtensions when / if this is fixed: http://issues.ez.no/IssueView.php?Id=13382

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

Matthieu Sévère

Friday 23 July 2010 6:42:15 am

"

That setting is to define site accesses that are related, as in share db and var folder and changes in one should affect cache on the other and so on.

As for common settings, that's possible by using ActiveAccessExtensions currently, or ActiveExtensions when / if this is fixed: http://issues.ez.no/IssueView.php?Id=13382

"

I see that you implemented that in a dedicated branch on Github, is this tested ? Do you have any idea if this will be in 4.4 ?

We definitly need this ...

--
eZ certified developer: http://ez.no/certification/verify/346216

eZ debug

Timing: Jan 17 2025 23:39:26
Script start
Timing: Jan 17 2025 23:39:26
Module start 'content'
Timing: Jan 17 2025 23:39:27
Module end 'content'
Timing: Jan 17 2025 23:39:27
Script end

Main resources:

Total runtime0.9194 sec
Peak memory usage4,096.0000 KB
Database Queries210

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 588.8281180.8359
Module start 'content' 0.00580.8019 769.6641678.3516
Module end 'content' 0.80770.1116 1,448.0156341.0938
Script end 0.9193  1,789.1094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.4242210.0002
Check MTime0.00150.1622210.0001
Mysql Total
Database connection0.00080.082210.0008
Mysqli_queries0.837991.13432100.0040
Looping result0.00210.23312080.0000
Template Total0.896097.520.4480
Template load0.00230.252920.0012
Template processing0.893797.199320.4468
Template load and register function0.00010.009010.0001
states
state_id_array0.00070.081010.0007
state_identifier_array0.00130.146620.0007
Override
Cache load0.00200.2192410.0000
Sytem overhead
Fetch class attribute can translate value0.00100.109950.0002
Fetch class attribute name0.00150.1603100.0001
XML
Image XML parsing0.00240.258050.0005
class_abstraction
Instantiating content class attribute0.00000.0024120.0000
General
dbfile0.00450.4897480.0001
String conversion0.00000.000530.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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/link.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/link.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: 27
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs