Infobox override

Author Message

Florin Daniel

Monday 14 March 2011 2:13:18 am

I need to modify infobox/create a new object like infobox with another structure.

i created a new class, an object, overwritten the tpl. But i do not see the object in the right column.

i found a tpl for right menu that shows its items with (foreach $right_menu_elem). how to i atach the new class to right_menu_elem array

also i use webin

[EDIT]

i managed to solve some things, found the array where to include the new module, in $right_menu_elems. It apears ok in the right side, but if i logout from frontend, it disappears from the the right side, althrought same tpls are user. i checked out the $right_menu_elems elements and it is not there too... the array form out with the "fetch"function. i read it's documentation, but i found no parameter to show an item for a logged user and hide for the rest. Is there some parameter ?

def $right_menu_elems=fetch( 'content' , 'list' , hash( 'parent_node_id' , $current_node_id ,
class_filter_type , 'include' ,
class_filter_array , array( 'infobox', 'infobox_image' ) ,
sort_by , array( array( 'priority' , true) ) ) )

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.