Gossamer Forum
Home : Products : Links 2.0 : Customization :

Modifying the Category list display

Quote Reply
Modifying the Category list display
I would like to split the main category listing into 3 columns. I attempted to do this in the "site_html_template.pl" file, but to no avail...
---
I will still keep trying to hack it, but in the meantime, does anyone have any suggestions??

Thx
Quote Reply
Re: Modifying the Category list display In reply to
In sub site_html_print_cat, look for:

Quote:
my ($half) = int (($#subcat+2) / 2);

and change the "/ 2" to read "/ 3". I think that should work. If not, also try changing the "$#subcat+2" to read "$#subcat+3".

I hope this helps.

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/
goodstufflists.home.ml.org/


Quote Reply
Re: Modifying the Category list display In reply to
I forgot to say, also change all occurances of:

Quote:
<td valign="top" width="50%">

to read:

Quote:
<td valign="top" width="33%">

------------------
Bob Connors
bobsie@orphanage.com
www.orphanage.com/goodstuff/
goodstufflists.home.ml.org/