Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

Categories output format

Quote Reply
Categories output format
Hi. I'm trying to figure out how to change the format of the categories in the index file. By the default the categories go something like this.
**************************************
Category1
Description of the category1


Category2
Description of the category 2


Category2
Description of the category 3
etc...
***************************************

I would like it to appear without a description line and in a following format:
**************************************
• Category1 • Category7
• Category2 • Category8
• Category3 • Category9
• Category4 • Category10
• Category5 • Category11
• Category6 • Category12


Thanks for your help.


[This message has been edited by Dvd (edited May 08, 2000).]
Quote Reply
Re: Categories output format In reply to
As mentioned numerous times in this forum and in the Discussion and Modification Forums (the latter which you should post questions like this), and there is a FAQ in the Resource Center that addresses this problem...

You need to do the following in the sub site_html_print_cat routine in the site_html_templates.pl file:

1) Delete all defintion list codes (<dt><dl></dt></dl> ).

2) Delete all CSS codes (span and class codes).

3) Put your own font codes before the $category_clean variable.

4) Put <li> before <a href="$url"> and </li> after the </a> codes.

5) Delete all descriptions for main categories, so that you won't have text printed below the categories -OR- delete the $description variable.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.




[This message has been edited by AnthroRules (edited May 08, 2000).]