Version: 5.0.46
URL: http://www.idealchristmasgift.co.uk/resources/toys-and-games/
|
babrees
Expert Usergroup: Customer Joined: Aug 19, 2005 Location: England Total Topics: 392 Total Posts: 1287 |
Posted 05/06/09 - 10:08 PM:
Is there a variable to have an if condition for subcategories? When there are no subcats on the displaylinks.tpl it still puts in an empty table so there is a big gap in the display under the catname. So I just want to put... <IF {SUBCATS}> table </IF> |
|
hai
Forum Regular Usergroup: Customer Joined: Apr 03, 2007 Location: NY & PA Total Topics: 93 Total Posts: 335 |
Posted 05/07/09 - 8:03 AM:
Hi babrees, I don't have an answer to your question, but what browser are you seeing this gap in? I don't see it. Gap is about as big with subcats as without (although I didn't measure it!). Tried it in Avant & Firefox both with same results. High Aspirations, Inc. - Web Site Design & More http://www.highaspirationsinc.com/ Be who you are and say what you feel, because those who mind don't matter and those who matter don't mind. - Dr. Seuss |
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 05/08/09 - 4:43 PM:
Use <IF {CATNUMSUB}> |
|
babrees
Expert Usergroup: Customer Joined: Aug 19, 2005 Location: England Total Topics: 392 Total Posts: 1287 |
Posted 05/09/09 - 12:32 AM:
Thanks. Hai, I use FireFox 3 and there is quite a gap. I have implemented the <IF {CATNUMSUB}> and the gap has closed
|
|
Paul
developer Usergroup: Administrator Joined: Dec 20, 2001 Location: Diamond Springs, California Total Topics: 65 Total Posts: 7614 |
Posted 05/09/09 - 9:28 PM:
In my default templates, viewing with Firefox 3, it looks exactly identical to me (no gap) with or without that conditional. I guess maybe you have something in your stylesheet specifying padding/margin for tables, that'd explain it. |
Sorry, you don't have permission to post. Log in, or register if you haven't yet.

Print