ez.no / exponential / documentation / reference / template functions / gui / node_view_gui
{node_view_gui content_node=$node [ view='view_mode' [ parameter=$value [ ... ] ] ] }
| Name | Type | Description | Required |
|---|---|---|---|
| content_node | object | The node object. | Yes. |
| view | string | The view mode to use. | No. |
| other parameters | mixed | Parameters passed to the GUI template. | No. |
The GUI for viewing node object.
Shows the node view GUI. You must supply the content_node 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/node/view folder.
Show the full view of node object $myNode.
{node_view_gui view=full content_node=$myNode
Log in or create a user account to comment.
Comments