Monday 02 June 2008 12:05:02 am
hi, thanx for your reply. normally i don't use sections in new templates. I just modified an existing template. I just have problems with the new lines. I will try to change the whole thing to a foreach loop. The problem is that i get either no new line or two new lines using this section loop. this code gives me no new line:
{section name=ProductItem loop=$order.product_items show=$order.product_items sequence=array(bglight,bgdark)}
{$ProductItem:item.object_name}
{/section}
this code gives me two new lines:
{section name=ProductItem loop=$order.product_items show=$order.product_items sequence=array(bglight,bgdark)}
{$ProductItem:item.object_name}
{/section}
...but I just need one new line like:
Item1 Item2
---------------------------------------
Styleflasher New Media OG
Websites. Games/Multimedia.
|