Module in siteaccess

Author Message

Piotr Switkowski

Wednesday 19 January 2005 12:50:47 pm

I have a module, but want this module to be available in only one siteaccess. So I included the module in the site.ini override for this siteaccess. And module could not be found. When I add same commands in global site.ini override it works.

How can I have module for only one site access ?

Lazaro Ferreira

Wednesday 19 January 2005 2:26:09 pm

Hi

Do you mean an extension ?

Yes, you can enable an extension by siteaccess

Lazaro
http://www.mzbusiness.com

Łukasz Serwatka

Wednesday 19 January 2005 2:38:53 pm

Hi,

Did you add

[ExtensionSettings]
ActiveExtensions[]=your_extension

to your siteaccess/prefix/site.ini.append.php file?
Try clear INI cache.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Lazaro Ferreira

Thursday 20 January 2005 1:22:11 am

Hi,

I would try CLEAR ALL cache instead CLEAR INI cache

Lazaro
http://www.mzbusiness.com

Hans Melis

Thursday 20 January 2005 1:28:50 am

Hi,

A small correction to what has been suggested above. You're looking for the following in the site.ini of the siteaccess:

[ExtensionSettings]
ActiveAccessExtensions[]=your_extension

The ActiveExtensions settings is only read as a global setting, not as a siteaccess-specific setting. If you want to enable an extension only for a specific siteaccess, you need to use the ActiveAccessExtensions setting in the site.ini of the siteaccess.

hth

Hans
http://blog.hansmelis.be

Łukasz Serwatka

Thursday 20 January 2005 1:43:51 am

Hi Hans,

Right. Thanks for your correction ...

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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 19 2025 01:07:52
Script start
Timing: Jan 19 2025 01:07:52
Module start 'layout'
Timing: Jan 19 2025 01:07:52
Module start 'content'
Timing: Jan 19 2025 01:07:53
Module end 'content'
Timing: Jan 19 2025 01:07:53
Script end

Main resources:

Total runtime0.8708 sec
Peak memory usage4,096.0000 KB
Database Queries70

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0070 589.0547152.6094
Module start 'layout' 0.00700.0032 741.664139.4141
Module start 'content' 0.01030.8590 781.0781641.5234
Module end 'content' 0.86930.0014 1,422.601616.1875
Script end 0.8707  1,438.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3765160.0002
Check MTime0.00140.1647160.0001
Mysql Total
Database connection0.00120.135010.0012
Mysqli_queries0.799391.7918700.0114
Looping result0.00080.0887680.0000
Template Total0.838096.220.4190
Template load0.00220.256720.0011
Template processing0.835795.972820.4179
Template load and register function0.00020.017410.0002
states
state_id_array0.00110.122610.0011
state_identifier_array0.00100.112420.0005
Override
Cache load0.00190.2228300.0001
Sytem overhead
Fetch class attribute can translate value0.00080.089340.0002
Fetch class attribute name0.00110.128480.0001
XML
Image XML parsing0.00140.161440.0004
class_abstraction
Instantiating content class attribute0.00000.002190.0000
General
dbfile0.00180.2063230.0001
String conversion0.00000.001040.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
8content/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
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 22
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs