Forums / Developer / content structure menu dynamic

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

content structure menu dynamic

Author Message

Gwenal Le Bihan

Monday 31 January 2011 7:19:27 am

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!)? :-)