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

How do I get rid of the # of links in a category?

Quote Reply
How do I get rid of the # of links in a category?
I am doing a site where each category will only have a single link ... so I don't really need the (#) next to the category name -- is there a way for me to remove that?



I'd like to be alone in a room, and enjoy the company.
Quote Reply
Re: [hairy] How do I get rid of the # of links in a category? In reply to
in site_html_templates.pm, you should see;

Code:
# Then we print out the name linked, new if it's new, and popular if its popular.
$output .= qq|<dl><dt><strong><a class="link" href="$url">$category_name</a></strong> <small class="numlinks">($numlinks)</small> |;
$output .= qq|<small><sup class="new">new</sup></small>| if (&days_old($mod) < $db_new_cutoff);
$output .= qq|</dt>|;
$output .= qq|<dd><span class="descript">$description </span></dd>| if (!($description =~ /^[\s\n]*$/));
$output .= qq|</dl>|;
}

The part in red is where the category counts come from...

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] How do I get rid of the # of links in a category? In reply to
Thank you, that worked

:)



I'd like to be alone in a room, and enjoy the company.