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

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 29 2025 14:44:57
Script start
Timing: Jan 29 2025 14:44:57
Module start 'layout'
Timing: Jan 29 2025 14:44:57
Module start 'content'
Timing: Jan 29 2025 14:44:57
Module end 'content'
Timing: Jan 29 2025 14:44:57
Script end

Main resources:

Total runtime0.0131 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0047 588.1328151.2109
Module start 'layout' 0.00470.0018 739.343836.6484
Module start 'content' 0.00660.0052 775.992298.2500
Module end 'content' 0.01180.0014 874.242237.9922
Script end 0.0131  912.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002115.7574140.0001
Check MTime0.00107.5224140.0001
Mysql Total
Database connection0.00075.163610.0007
Mysqli_queries0.002015.315030.0007
Looping result0.00000.282810.0000
Template Total0.00097.010.0009
Template load0.00075.558910.0007
Template processing0.00021.368910.0002
Override
Cache load0.00053.771210.0005
General
dbfile0.001410.918380.0002
String conversion0.00000.043540.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs