|
Monday 27 December 2004 6:49:13 am
Comment17181
Hi, Sorry All solutions you're giving me till now is concerned with the objects that are entered while { loop= integer } not To understand what i mean try to give a cell a bgcolor or anything to specify it , then when you
<table>
{section name=loop loop=6}
<tr>
<td bgcolor= red>
try it even without fetching to any data from the content
if u use {$:item.name} as an example it won't be displayed but the background will
</td>
</tr>
{/section} </table> This will display the row repeated for six times not depending on the object i'm fetching , while the normal way we use is
<table>
{section name=Child loop=fetch('content','list', hash('parent_node_id',69))}
<tr>
<td bgcolor=red> {$:item.name} </td>
</tr> {/section} </table> The previous will display rows depending on the number of children objects even if i use max [needs at least 6 to do what i want] or limit [ which is nearly gives the same result as max] So what i really need is to merge these 2 cases meaning that i can fetch the data i need from a specific node while setting the no of looping [ due to designing issues] I hope I could let you understand my point of view Thanks in advance
|