Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Alex - sub categories

Quote Reply
Alex - sub categories
Hi Alex,
You recommended to do the below to add sub categories. Where do I make this change?
I tried index.html and link.html but that did not work.
Thanks in Advance.
_____________________________________________
You simply enter in the HTML. So for description in Computers you put:
<a href="/Computers/Compaq/">Compaq</a> ...
<a href="/Computers/IBM">IBM</a>

and then it will show up linked underneath Computers category.

Cheers,

Alex
Quote Reply
Re: Alex - sub categories In reply to
 
Quote:
So for description in Computers
I presume he's referring to the description field for the category. You would add it through the admin section, not to any of the templates.

Also, if you are adding things to index.html, you will lose any changes. index.html is what's built in each directory from the corresponding templates such as home.html, category.html, cool.html, etc. Those are what you need to make your changes to.

Dan
Quote Reply
Re: Alex - sub categories In reply to
You mean descriptions not subcategories, right? If so, remove the <dd>, <dt>, etc., tags from subcategories.html and you should be fine. I'm drawing a blank right now, but I don't think there's any such tags that have to be removed from HTML_Templates.pm.

Dan
Quote Reply
Re: Alex - sub categories In reply to
Thanks Dan that worked.
But the subcategories seem to be indented or centered.
How can I line them up to the left?
lined up beneath the first letter of the category title.
I tried allign="left" but that did not do it