Displaying items in shop
-----
| Author | Message | |
|---|---|---|
|
laisvai |
||
| Sat Oct 21, 2006 3:04 am Post subject: | ||
|
Thank's for explanation
I made this for all my shops already Some notice... it's important the placement of this code Code: if ( !(($i+1) % 5))
{ $template->assign_block_vars('listrow.break_line', array()); } If i add it before main $template: $template->assign_block_vars('listrow', array(...., the fifth item in first row is blank, in second and others it's ok. If i add it after this array, everything goes just fine |
||
|
Surein |
||
| Sat Apr 28, 2007 5:23 am Post subject: | ||
|
Thank for your tip, I have understand something new
|
||
|
zammap |
||
| Thu Mar 20, 2008 8:19 pm Post subject: | ||
|
Hey, I've been viewing this thread for DAYS and I still can't figure out how to apply this to my own php files. I get the template things down but I can't figure out the shop.php part.
Can anyone help me. |
||