This site has been archived and you can no longer log in or post new messages. For up-to-date community resources please visit

eZ Community » Forums » Developer » MenuSettings per class

MenuSettings per class

MenuSettings per class

Tuesday 11 January 2011 11:35:23 pm - 1 reply

Is there anyway to have menu settings available on a per class basis for the ezwebin extension? More specifically, I want the flat_left menu to display for one class, but I want just a TopOnly design for most other classes. The settings I see in menu.ini I believe are mostly for the admin interface. Thus, what exists for the ezwebin interface?



Wednesday 12 January 2011 11:50:20 am

you can customize this from your class's node template by using persistent variables which ezpagedata looks for.

See how other templates in webin/flow uses it, for instance frontpage.tpl in webin:

{set scope=global persistent_variable=hash('left_menu', false(),
'extra_menu', false(),
'show_path', false())}

This needs to be on the top of the node temaplte, if you use persistent_variable for other stuff, then consider using ezpagedata_set | ezpagedata_append functions from webin which does any merging needed for you on this variable.


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

36 542 Users on board!

Forums menu

Proudly Developed with from