Hi,
Quote:
Andy is right, about gaps in design. I have 8 main category on my test site. Now only 3 of these categories have links in them (1 link in each). Few days back I used the <%if Direct_Links > '0'%> tab instead of <%if Number_of_Links > '0'%> (but they both works the same ;) ) and here is the output (just tested it again with Number_of_Links)
Category 1..................Category 5
................................Category 7
As even tho the empty categories are not being shows, it still keeps the category within its column and hence can make the site look totally off the balance. (Category 5 and Category 7 are in right column, while Category 1 is in left column)
I don't think working on subcategory.html could fix this, but if there was a way to use some global in category.html, so that it won't request subcategory.html if there is no links under particular category.
Thought I was =) (either that, or I'm going mad :P)
Unfortunately - when a page is rendered, I don't believe there are any hooks you can link into, to edit the "conditions" passed in, for grabbing the appropriate categories. I tried a while back (on one of my own sites), and after hours and hours of trying to figure it out, I came to the conclusion, the only way to do it - is by editing the core code :(
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my
Amazon Wish List GLinks ULTRA Package | GLinks ULTRA Package PRO Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin |
Pre-Made Template Sets |
FREE GLinks Plugins!