Forums / Developer / Extra_menu and sidemenu in search

Extra_menu and sidemenu in search

Author Message

Vidhi ashra

Friday 23 July 2010 4:20:08 am

Hi,

I need something like persistent _variable in search template:

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

for search template. How can I do that? Coz that is only valid in content/view.

Please help

Vidhi

Vidhi

André R.

Friday 23 July 2010 4:41:33 am

If you use ezwebin, or have it enabled at least, then you'll be able to use a template operator called ezpagedata_set and ezpagedata_append (to append values to arrays), these are abstractions for {set scope=global persistent_variable.. that should work on most pages.

see:

http://share.ez.no/forums/setup-design/solved-removing-the-global-zone-displayed-on-right-side

http://share.ez.no/forums/setup-design/how-to-change-the-way-of-displaying-an-object#comment27561

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Vidhi ashra

Friday 23 July 2010 5:13:23 am

Thanks a lot André. Have a great day!

Vidhi