Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [sangiro] Sort order for YahooSubcats

Quote Reply
Re: [sangiro] Sort order for YahooSubcats In reply to
Hi,

It would mean editing the plugin. You would need to change:

my $sth=$table->select({'FatherID' => $catid},['Full_Name','Name']);

and include 'Number_of_Links' as a column to select, and then change:

$description.=qq|<a href="$cat_url"><$cfg->{subcat_font}>$row->{Name}</font></a>|;

to:

$description.=qq|<a href="$cat_url"><$cfg->{subcat_font}>$row->{Name}</font></a> ($row->{Number_of_Links})|;

Cheers,

Alex
--
Gossamer Threads Inc.
Subject Author Views Date
Thread Sort order for YahooSubcats sangiro 3515 Feb 22, 2003, 7:23 PM
Thread Re: [sangiro] Sort order for YahooSubcats
sangiro 3442 Feb 22, 2003, 9:01 PM
Thread Re: [sangiro] Sort order for YahooSubcats
Alex 3396 Feb 26, 2003, 12:05 AM
Thread Re: [Alex] Sort order for YahooSubcats
sangiro 3386 Feb 27, 2003, 7:39 PM
Thread Re: [sangiro] Sort order for YahooSubcats
Alex 3372 Feb 27, 2003, 9:02 PM
Thread Re: [Alex] Sort order for YahooSubcats
sangiro 3376 Feb 27, 2003, 9:52 PM
Thread Re: [sangiro] Sort order for YahooSubcats
Alex 3372 Feb 28, 2003, 10:08 AM
Post Re: [Alex] Sort order for YahooSubcats
sangiro 3327 Feb 28, 2003, 6:57 PM
Thread Re: [sangiro] Sort order for YahooSubcats
afinlr 3411 Feb 25, 2003, 5:48 AM
Post Re: [afinlr] Sort order for YahooSubcats
sangiro 3384 Feb 25, 2003, 8:29 PM