Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Problem with template display

Quote Reply
Problem with template display
Dear Links Users,
I can not figure out how to change the look of the category links in the new.html and cool.html templates. I am unsure of where to change the look of these links because the parameter that displays the results is <%link_results%>, there is no <%category_name%> tag or anything to this effect. In my link.html template I don't see anything that would affect how the category link would be displayed. To clear up what I mean here is a diagram of what the cool.html template outputs:

My Site: Top 10%!

Webmaster Resources <- Category link (REALLY UGLY)
--------------------------------------------------------
AAA Webmaster Resources <Hits: 100 Votes: 10 Rating: 8>
BBB Webmaster Resources <Hits: 100 Votes: 10 Rating: 8>
CCC Webmaster Resources <Hits: 100 Votes: 10 Rating: 8>
(These links look great because they are formatted in link.html)

Online Tutorials <- Another really ugly category link
--------------------------------------------------------
AAA Tutorials <Hits: 100 Votes: 10 Rating: 8>
BBB Tutorials <Hits: 100 Votes: 10 Rating: 8>
CCC Tutorials <Hits: 100 Votes: 10 Rating: 8>
(These links look great because they are formatted in link.html)

So to sum it all up the links look great, because they are using my link.html template for formating, but I don't know where the heck the category link's are being generated and they look REAL dull and ugly (they are like a default blue link).

Thanks a lot!

Quote Reply
Re: Problem with template display In reply to
nph-build.cgi is where you need to look and site_html_print_cat in site_html_templates.pl

The subs you need to change are near the bottom of nph-build.cgi

Paul Wilson.
http://www.wiredon.net/gt/
http://www.perlmad.com/