Gossamer Forum
Home : Products : Links 2.0 : Customization :

How Do You REMOVE the word NEW and Site Number On the Main CATEGORY???? HELP???

Quote Reply
How Do You REMOVE the word NEW and Site Number On the Main CATEGORY???? HELP???
Hello LINKS Fellows,

I need to remove the Word "New" and (12442) <== Site Number ON THE Main Category.. I dont care about SubCategories. Any Bright Tips?? Thanks!
Quote Reply
Re: How Do You REMOVE the word NEW and Site Number On the Main CATEGORY???? HELP??? In reply to
If you are using templates go to site_html_templates.pl and scroll to the sub routine:

Code:
sub site_html_print_cat {

modify this section:

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>|;

Please review your post before you submit also:
Quote:
I m LOST.. and it s messy.. SO I NEVER EVER USE LINKS 2.0... confused me...

But I think you really meant:
Quote:
I'm lost...I have not used Links 2.0 before...I am confused...Can someone explain where I need to modify to customize Links...

Your comment in the other topic sounds like that "you will never use Links 2.0" just the way you worded it. Be very careful.


Bobsie is very good at helping your issues but you need to post samples of the code, provide a link to what you are talking about in order for me or others can even begin to help.

Hope this clears some things up.

elms

-------------------------
www.webmerch.com
links@webmerch.com


[This message has been edited by elms (edited March 12, 1999).]

[This message has been edited by elms (edited March 12, 1999).]