Friday 30 January 2004 1:19:42 pm
This is my full view tpl: <div class="page_title">Trading Log</div>
<table width="100%" class="radar_trade">
<tr class="radar_trade_header">
<td class="radar_trade_header_cell">Symbol</td>
<td class="radar_trade_header_cell">Name</td>
<td class="radar_trade_header_cell">Market</td> </tr>
{* Grab some of the content of the node that is being viewed. *}
{let children=fetch( content,
list,
hash( parent_node_id, $node.node_id,
sort_by, $node.sort_array,
class_filter_type, include, class_filter_array, array( 'security' ) ) )}
{* LOOP: For each child of the node... *} {section name=Child loop=$children}
{* Display the content of the child using a line-view template. *} {node_view_gui view=line content_node=$Child:item}
{* End of loop. *} {/section} </table> +++++++++++++++++++++++++ And this is my line view tpl:
<tr class="radar_trade_row">
<td class="radar_trade_row_cell">
<a href={$node.url_alias|ezurl}>
{attribute_view_gui attribute=$node.object.data_map.symbol}
</a>
</td>
<td class="radar_trade_row_cell">
{attribute_view_gui attribute=$node.object.data_map.name}
</td>
<td class="radar_trade_row_cell">
{$node.object.data_map.market.content.name}
</td> </tr> +++++++++++++++++ This strange thing is the original in the second folder is displayed correctly. But the other ones are displayed right before the Table definition using the standard layout.
|