Path

ez.no / exponential / documentation / reference / template functions / gui / content_version_view_gui


content_version_view_gui

Summary

Displays the content object version view GUI

Usage

{content_version_view_gui content_version=$contentObjectVersion [ view='view_mode'  [ parameter=$value [ ... ] ] ] }

Parameters

NameTypeDescriptionRequired
content_version object The content version object. Yes.
view string The view mode to use. No.
other parameters mixed Parameters passed to the GUI template. No.

Returns

The GUI for viewing a version of content object.

Description

Show the content object version view GUI. You must supply the content_version parameter. The view parameter, specifying which view mode to use, is optional. Any other parameters are passed on as template variables.
The following view mode are defined in standard Exponential:

  • full
  • plain
  • text
  • text_linked

You can create your own view mode by adding name_of_view_mode.tpl under design/standard/templates/content/version/view folder.

Examples

Show the full view of content object version $myContentVersion.

{content_version_view_gui view=full content_version=$myContentVersion}

Comments

Contents

Reference

Database diagram
Template operators
Template functions
    GUI
       attribute_edit_gui
       attribute_pdf_gui
       attribute_view_gui
       class_attribute_edit_gui
       collaboration_icon
       collaboration_participation_view
       collaboration_simple_message_view
       collaboration_view_gui
       content_pdf_gui
       content_version_view_gui
       content_view_gui
       event_edit_gui
       menu
       node_view_gui
       shop_account_view_gui
       tool_bar
    Miscellaneous
    Program flow
    Variables
Data fetching
Modules
XML tags


Created

06/02/2004
2:16:23 pm
by Balazs Halasy

Last updated

13/02/2004
1:37:17 pm
by Wenyue Yu

Authors

Balazs Halasy
Wenyue Yu



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.