Gossamer Forum
Home : Products : Links 2.0 : Customization :

Related category's

Quote Reply
Related category's
Hi, As anyone out there.. have there related category's in two or even three columns..if so could you please show me how it was done...or if anyone now's how to do it...I have a least 15 related category's on each page and 1 column is to long!...

Admittedlamb.

Quote Reply
Re: Related category's In reply to
Edit the HTML codes contained in the $related lines of codes in the sub build_category_pages in the nph-build.cgi script. Basically set a counter for the total categories, like $i++;, then add division codes that will divide the total number of related categories by how many columns you want....

Refer to the $half and $i codes in the sub site_html_print_cat routine in the site_html_templates.pl file.

Regards,

Eliot Lee
Quote Reply
Re: Related category's In reply to
Thanks AnthroRules...that is basically what I have been trying to do but I either get 1 cat in the first column and the rest in the second..or just 7 rel.cats showing up...treid the links in columns code to with the same result..but will keep trying...just thought someone may have already done it?

Admittedlamb.