eZ Community » Forums » General » content/versionview override
expandshrink

content/versionview override

content/versionview override

Tuesday 24 June 2008 2:53:04 pm - 1 reply

Hi,
Is there a way to override the version preview for some content?
The only override condition for this view is the navigation_part_identifier.
in the $module_result i expected using the $versionview_mode view parameter to check if we are in the preview context. But this variable is not set in that case.

Have i to use the $uri_string to check if we are in the preview context or is there a better solution that i have skiped ?

Thanks for your help

Modified on Tuesday 24 June 2008 2:57:52 pm by Karnichi Mohamed

Friday 21 October 2011 9:55:14 am

Hi,

This topic is old, but you can do this like a full view :

[versionview_forum_reply]
Source=content/view/versionview.tpl
MatchFile=versionview/forum_reply.tpl
Subdir=templates
Match[class_identifier]=forum_reply

Modified on Friday 21 October 2011 9:56:07 am by Simon Boyer

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu

Proudly Developed with from