[Resolved] Catching content of node_view_gui

Author Message

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.

Laurent Clouet

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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.