Enabling eZFind in extension siteaccesses

Author Message

Geoff Bentley

Wednesday 04 March 2009 7:02:58 pm

Currently, if you use multiple site extensions on a single eZ Publish install, you can't enable/disable ezFind on a site-by-site basis - it must be enabled in settings/override/site.ini in order to work properly.

Is this a feature or a bug?

The install doc says:

3. Enable the extension in eZ Publish. Do this by opening settings/override/site.ini.append.php ,
   and add in the [ExtensionSettings] block:
   ActiveExtensions[]=ezfind
   To get the correct templates for ezwebin, ezfind must be enabled before the ezwebin extension.

But if you only enable ezwebin in your site extension siteaccess, you're stuffed?

Mohamed Ben-Ahssene

Wednesday 25 March 2009 4:13:51 am

If I understand you problem, I think but i didn't try it because i don't use ezwebin.
Enable ezfind before ezwebin:

 ActiveExtensions[]=ezfind
 ActiveExtensions[]=ezwebin

if not, it will be nice to give me the solution.

Geoff Bentley

Tuesday 07 April 2009 10:07:40 pm

You <i>should</i> be able to use eZ Find in your extension siteaccess, using ActiveAccessExtensions[], and use the internal eZ Publish search on other sites.

There doesn't appear any way to do this currently without eZ Find failing, unless I'm completely wrong, which I could be.

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 18 2025 04:53:08
Script start
Timing: Jan 18 2025 04:53:08
Module start 'layout'
Timing: Jan 18 2025 04:53:08
Module start 'content'
Timing: Jan 18 2025 04:53:08
Module end 'content'
Timing: Jan 18 2025 04:53:08
Script end

Main resources:

Total runtime0.0174 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.0060 588.0781152.6406
Module start 'layout' 0.00600.0046 740.718839.4922
Module start 'content' 0.01060.0045 780.210990.5703
Module end 'content' 0.01510.0022 870.781334.3047
Script end 0.0173  905.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002715.3926140.0002
Check MTime0.00126.6673140.0001
Mysql Total
Database connection0.00095.151910.0009
Mysqli_queries0.004123.745730.0014
Looping result0.00000.156610.0000
Template Total0.001810.210.0018
Template load0.00084.632610.0008
Template processing0.00105.538010.0010
Override
Cache load0.00052.875510.0005
General
dbfile0.00021.062080.0000
String conversion0.00000.067340.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