Monday 20 February 2006 11:49:47 am
Hi I have the following code:
{let list_items=fetch( content, list, hash( parent_node_id, 2,
sort_by, array( priority, true() ),
class_filter_type, include,
class_filter_array, array( 'folder' ) ) ) }
<table>
<tr>
{section var=child loop=$list_items}
<td width="300">
{node_view_gui view=line content_node=$child}<br/>
</td>
{delimiter modulo=6}
</tr>
<tr>
{/delimiter}
{/section}
</tr>
</table>
{/let}
With this code I have an output like this:
| line | line | line | line | line | line |
How should I change this code to have an output like this:
| line | line | line | line | line | line |
| line | line | line | line | line | line |
Please, I don't mean just to change {delimiter modulo=6} to {delimiter modulo=2}. I want two line by item. The code that I would like to make dynamic is this:
<table>
<tr>
<td width="300" height="2" valign="top">
<img src={"line.png"|ezimage}>
</td>
</tr>
<tr>
<td width="300" height="17" valign="middle">
item
</td>
</tr>
</table>
Thanks in advance! Leandro
|