01-08-2009, 12:54 PM
|
#25 (permalink)
|
|
The Contributor
Join Date: Oct 2008
Location: Nuremberg, Germany
Posts: 26
Thanks: 3
|
Your solution looks quite good. :)
About the 3d-array-problem: Even in your code the template itself does not decide how many cols to display. You're doing this in your PHP script. So IMO there is no difference between telling patTemplate to start a new row or building an array with the right number of cols. In both cases there is no logic neither in patTemplate Templates nor in PHPTAL Templates. They just display, what you tell them via PHP.
__________________
|
|
|