node_view_gui

Summary

Displays the node view GUI.

Usage

{node_view_gui content_node=$node [ view='view_mode'  [ parameter=$value [ ... ] ] ] }

Parameters

NameTypeDescriptionRequired
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.

Returns

The GUI for viewing node object.

Description

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:

  • full
  • line
  • text_linked
  • text
  • plain
  • sitemap
  • pdf
  • execute_pdf

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

Examples

Show the full view of node object $myNode.

{node_view_gui view=full content_node=$myNode

Comments

Log in or create a user account to comment.

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:17:17 pm
by Balazs Halasy

Last updated

13/02/2004
2:32:50 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.