objectrelationbrowse extension in ez 4.1 - is it working ?

Author Message

Johnny Cash

Thursday 09 July 2009 9:31:41 am

Hello,

I use to use the objectrelationbrowse extension in all my ez publish projects.

I can't make it work fine since I have used ez publish 4.1.

I edit an object; the attribute is here. I click on search. I type the name of the object i am looking for. The engine looks for the objects during 5 secondes then tells me there are no results.

Do you have the same problem ? Do you know a solution ?

Thank you.
Have a good day.

Carlos Revillo

Thursday 09 July 2009 1:43:19 pm

Hi. We had similar problems few days ago. first, are your searchable objects under a section? then remember to update your module.ini.append.php to allow objectrelationbrowse to ge results from that section.

if this is not the case, try to modify your module.php file.

so, if you have now something like

$Module = array(  'name' => 'objectrelationbrowse' );
$ViewList = array();
$ViewList['list'] = array(
    'script' => 'list.php',
    'default_navigation_part' => 'ezsetupnavigationpart',
    'params' => array ( 'Limit', 'AttributeID', 'Phrase' ) );

try to change it to

$Module = array(  'name' => 'objectrelationbrowse' );
$ViewList = array();
$ViewList['list'] = array(
    'script' => 'list.php',
    'default_navigation_part' => 'ezsetupnavigationpart',
    'params' => array ( 'Limit', 'AttributeID', 'Phrase' ) ; 
    functions' => array( 'list' ) );

$FunctionList = array();
$FunctionList['list'] = array();

hope it helps.

Johnny Cash

Friday 10 July 2009 2:09:17 am

Hello Carlos, thank you for your help.

My objects are under standard section. I changeed module.php as you adviced me but it did not changed anything.

Did it work for you ???

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 31 2025 04:20:28
Script start
Timing: Jan 31 2025 04:20:28
Module start 'layout'
Timing: Jan 31 2025 04:20:28
Module start 'content'
Timing: Jan 31 2025 04:20:28
Module end 'content'
Timing: Jan 31 2025 04:20:28
Script end

Main resources:

Total runtime0.0173 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.0066 588.2734151.2266
Module start 'layout' 0.00660.0033 739.500036.6797
Module start 'content' 0.00990.0060 776.179790.2031
Module end 'content' 0.01590.0014 866.382829.9922
Script end 0.0173  896.3750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002514.3115140.0002
Check MTime0.00116.5941140.0001
Mysql Total
Database connection0.00074.070710.0007
Mysqli_queries0.004425.123630.0015
Looping result0.00000.064710.0000
Template Total0.00116.310.0011
Template load0.00094.960010.0009
Template processing0.00021.345010.0002
Override
Cache load0.00063.470510.0006
General
dbfile0.00169.471280.0002
String conversion0.00000.041340.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