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

Products: Gossamer Links: Development, Plugins and Globals: Re: [Paul] help with keyword global: Edit Log

Here is the list of edits for this post
Re: [Paul] help with keyword global
I am getting errors. Can you show me how to put this code my @long_enough = grep length > 2, @exploded;

in here:

Code:
sub {
my $tags = GT::Template->tags;
my $cat = $tags->{category_name};

$cat =~ s|/|,|g;

my $sub_cat = join(",", map { join(",", split(/\//, $_->{Full_Name})) } @{$tags->{category_loop}});

my $keywords = $cat;
$keywords .= $sub_cat if $sub_cat;

return lc $keywords
}

Thanks,
Blackbird

Last edited by:

Paul: Jun 25, 2003, 7:00 AM

Edit Log: