Retrieve view mode of a node ???

Author Message

H-Works Agency

Thursday 12 April 2007 10:26:53 am

How can i retrieve something that seems very simple : the view mode in which a node is shown ?

For exemple node 54 is in line, full, embed in a certain place ?

I can't find any variable holding this information.

Thanx for any help.

EZP is Great

Piotrek Karaƛ

Thursday 12 April 2007 10:42:55 am

I believe in the pagelayout you've got:

{$module_result.content_info.viewmode}

http://ez.no/doc/ez_publish/technical_manual/3_8/templates/the_pagelayout/variables_in_pagelayout

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

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