Author Topic

Tobias Persson

Tuesday 28 December 2004 4:14:28 am

Comment17186

Hmmm. That was strange. What version of EZ are you using?
I have tried the code both in 3.4 and 3.5.

The code is pretty simple, so it should work. It works like this:

* fetch all but max 6 objects from $p_node_id.
* fetch the no of objects under $p_node_id (and set variable $countitems to this value)
* loop the objects
* calculate the remaining rows by ($loops = 6 - $countitems)
* If loops > 0 then loop $loops times

And about the two tables. I just copied the code you pasted for them, so thats why they are there. Just remove the </table> and <table> in the middle and you will get it in one table.