Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Deleting # of links

Quote Reply
Deleting # of links
How do you disable the number of links that
show next to a category or subcategory heading in a page.

Thanks,
Mick
mickm@emeraldnet.net
Quote Reply
Re: Deleting # of links In reply to
This has been discussed numerous times in the Modification Forum where you will find code hacks and modifications to the LINKS script.

This is easy...delete $numlinks variable in the sub site_html_print_cat routine in the site_html_templates.pl file.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Deleting # of links In reply to
Thank You. When I delete the code and I click on Rebuild All, I still get a (0) beside each category. I find it as <small class..> tag in the html. How do I stop this "small class" tag from being written to the index.html of pages.

(I know, I should study perl, huh?)
Thanks in advance,
Mick
Quote Reply
Re: Deleting # of links In reply to
You have to delete these codes:

Code:
<small class="numlinks">($numlinks)</small>

Hope this helps!

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
* Check Resource Center
* Search Forums
Quote Reply
Re: Deleting # of links In reply to
Thank you! I also had to back to site_html_templates.pl and pull out all
the code of "numlinks". Thanks for all your help. Sorry to have posted in the wrong manner before. I'm new to this kind of stuff.

THANK YOU.
Mick