![]() |
custom template, error
I had a template i made off of subcats
its for boomers BMY mod, i want to list all brands in a 3 column layout. it works fine, except the FIRST row/column is always blank. I have the select to select all where brand is not null. i has to do with the index looping in the code below Code:
{ include file="location.tpl" last_location="Search by Brand"} {if $smarty.section.cat_num.index is div by 3} seems to cause the output of </tr> at the beginning, but not sure why? any ideas?? image below http://www.etinteractive.com/misc/error.jpg |
Code:
{if $smarty.section.cat_num.index is div by 3 && %brand.index% ne 1} %brand.index% may equal 0 at first so try that also. |
still wont work.
seems the first in the index is blank. anybody? |
GOT IT.
just had to transpose the If's Code:
{if $brand[cat_num].brand ne ""} |
All times are GMT -8. The time now is 09:40 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.