Forums / Developer / [Resolved] Catching content of node_view_gui
Laurent Clouet
Friday 06 June 2008 6:33:09 am
Hi
I would like to put content of a node_view_gui in a variable but I don't really know how to do.I tried this :
{def $text_news = (node_view_gui content_node=$news view=block)}
but it doesn't work at all.
Does anybody have a trick for this ?
Andreas Adelsberger
Friday 06 June 2008 6:49:45 am
hi, I guess set-block will do the trick!
http://ez.no/doc/ez_publish/technical_manual/4_0/reference/template_functions/variables/set_block
--------------------------------------- Styleflasher New Media OG Websites. Games/Multimedia.
Friday 06 June 2008 7:57:24 am
Great it works properly now.
My new code is :
{set-block variable=$text_news} {node_view_gui content_node=$news view=block} {/set-block}
Thanks a lot for your help