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.