Gossamer Forum
Home : Products : Gossamer Links : Discussions :

copy link versus multiple categories

Quote Reply
copy link versus multiple categories
Does Links SQL include alternate/multiple categories? How many categories can be used for one link? If you have a link with a category then 10 alt cats, will it be counted as 1 link or 11 in the grand total?

Quote Reply
Re: [rayhne] copy link versus multiple categories In reply to
Yes...like I already stated in your other thread.

You can add it to all your categories if you like.

Unfortunately, the "count" only will be carried in the MAIN category
that the link is added to...meaning that it will be ignored
in the alternative categories you add it to.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [AnthroRules] copy link versus multiple categories In reply to
Hi,

We will change this in the next release. If you edit admin/Links/Build.pm and change _grand_total to:

Code:
sub _grand_total {
# -------------------------------------------------------------------
# Calculates the total in two queries as it is significantly faster
# on large db's.
#
my $total = $DB->table ('CatLinks')->total;
my $unval = $DB->table ('Links')->count ( { isValidated => 'No' } );
return $total - $unval;
}
It will include alt's in the grand total.

Cheers,

Alex
--
Gossamer Threads Inc.
Quote Reply
Re: [Alex] copy link versus multiple categories In reply to
And if you modify the link, will it change all the links under the main and altcats?

Is there a limit to how many altcats you can safely add a link to? As I said, I have some links that will go into 100 or more categories.
Quote Reply
Re: [Alex] copy link versus multiple categories In reply to
DISREGARD!



Well I can't delete this post time ran out .......10 minutes??

I figured it out change 'CatLinks' to 'Links', cool!!



Regards,
Clueless

Last edited by:

Clueless: Jan 3, 2002, 8:50 PM