ez.no / exponential / documentation / reference / template functions / gui / content_version_view_gui
{content_version_view_gui content_version=$contentObjectVersion [ view='view_mode' [ parameter=$value [ ... ] ] ] }
| Name | Type | Description | Required |
|---|---|---|---|
| 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. |
The GUI for viewing a version of content object.
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:
You can create your own view mode by adding name_of_view_mode.tpl under design/standard/templates/content/version/view folder.
Show the full view of content object version $myContentVersion.
{content_version_view_gui view=full content_version=$myContentVersion}
Comments