Gossamer Forum
Quote Reply
Unknown Tag: 'URL'
I have written a Radius Search plugin, and am having problems with the plugin
returning tags for use by the link.html template.

It is strange, because it works perfectly on my live install, but I have installed
it to my dev install and cannot seem to get it working Unsure

I do not get URL, Description or ANY tags that should be available from the template.
When I add the "Hello" line of code, I do get "Hello" in every description, and my counter
always lists the correct number of matching links (with or without hello).

Code:
while ($link = $sth->fetchrow_hashref)
{
if($link_count >= $offset and ( $link_count < ($offset + $args->{mh})) ) {
$link = Links::SiteHTML::tags('link', $link);
$link->{Description} = 'Hello';
push (@link_results_loop, $link);
}
$link_count++;
}

...

# Print the output.
my $results = {
link_results_loop => \@link_results_loop,
link_hits => $link_count,
next => $toolbar,
paging => \%paging,
term => $query,
highlight => 0,
units => $units,
dist => $dist,
catname => $catname
};


return $results;
Any ideas?

Thanks,
Chris
RGB World, Inc. - Software &amp; Web Development.
rgbworld.com
Subject Author Views Date
Thread Unknown Tag: 'URL' rgbworld 2248 May 14, 2006, 6:41 AM
Post Re: [rgbworld] Unknown Tag: 'URL'
rgbworld 2133 May 14, 2006, 10:03 AM