eZ Community » Forums » Developer » content structure menu dynamic
expandshrink

content structure menu dynamic

content structure menu dynamic

Monday 31 January 2011 4:19:27 pm

Hello everybody,

is there a reason why in the content_structure_menu_dynamic.tpl in admin2 (4.4),

this portion of code (from 4.3)

this.classes = {*
*}{ldelim}{*
*}{foreach fetch('class','list_by_groups',hash('group_filter',$filter_groups,'group_filter_type',$filter_type)) as $class}{*
*}"{$class.id}":{ldelim}name:"{$class.name|wash(javascript)}",identifier:"{$class.identifier|wash(javascript)}"{rdelim}{*
*}{delimiter},{/delimiter}{*
*}{/foreach}{*
*}{rdelim};

has been replaced by

this.classes = {*
*}{ldelim}{*
*}{foreach fetch('class','list') as $class}{*
*}"{$class.id}":{ldelim}name:"{$class.name|wash(javascript)}",identifier:"{$class.identifier|wash(javascript)}"{rdelim}{*
*}{delimiter},{/delimiter}{*
*}{/foreach}{*
*}{rdelim};

which can generated an unsorted list of classes which is not convenient when they are numerous?

thank you

Gwenal

ps : how do i delete the tag below (content struture menu, i slipped!)? happy.gif Emoticon

Modified on Monday 31 January 2011 4:21:10 pm by Gwenal Le Bihan

No reply yet!

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from