Forums / Setup & design / How does {$module_result.content} work?

How does {$module_result.content} work?

Author Message

Douglas Johnson

Friday 25 July 2003 7:39:36 am

I've been using {$module_result.content}, but don't really know how it works. Can someone please explain.

Thanks in advance.

Doug Johnson

Jan Borsodi

Saturday 26 July 2003 5:35:06 am

The content attribute returns the data (text) which the module generated. For instance when you run the module content/view/full/2 the module will fetch a template and set the result in module_result under the attribute content.
If you use
{$module_result|attribute(show)}
you'll see that there are other data that are generated from the module as well.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq