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


IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
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.