ez.no / exponential / documentation / customization / custom design / examples / common template issues / list with links
These documentation pages are no longer maintained. Please visit the new documentation site.
In the second example we will output links to the child objects, not just their names. We use the function 'node_view_gui' to print the child objects, and select the 'line' view mode.
{* set children variable *} {let children=fetch('content',list,hash(parent_node_id,$node.node_id))} <h1>{$node.name}</h1> {* loop children and show line view *} {section name=Child loop=$children} {node_view_gui view=line content_node=$Child:item}<br> {/section} {/let}
This will output something like this:
TODO: add screenshot
log in or create a user account to comment.
Comments