Quote:
Originally Posted by obmob
Well... I should be ashamed, but finally i'm editing some templates on LDM 2.2.9
So... Iwas wondering if there is a way to edit some stuff in the "main" template.
First, the top block, where the download's site is displayed, is there a way to add a conditional to it to hide the white row? Or just hide it completely in LDM's index page 
|
The problem is in the links_catbit_extras template, which is used to build a set of messages which are normally placed in that white row. If there is nothing to show, the template really should return nothing, but the way it's currently written it returns an empty div container. Take a look at the template if you wish - you would have to repeat all the conditional tests inside the div as a master conditional outside the div.
Quote:
Originally Posted by obmob
Then... why is it that after certain categories a new blank row appears? Ithought this was for categories with no subcategories, but the first one is has no dependant categories, and the second one does... then below there are more main categories.
Anyway, i would like to know what is supposed to show there, if ishould enable something extra or if there is a way to delete those big rows 
|
If I'm understanding you correctly, this happens when the display_order changes. You can get rid of it by clearing the links_linkseparator template.
Quote:
Originally Posted by obmob
What else.... hmm, is there a way toshow descriptions, maybe the short one in the main page? Right below the category name 
|
You are using the'Brief' category template, which is links_catbit_brief. Include $catdesc in it somewhere.