Gossamer Forum
Home : Products : Links 2.0 : Customization :

Displayed Results.. how to remove category breaks?

Quote Reply
Displayed Results.. how to remove category breaks?
As you can see from my attachment results are displayed by



Category

> links in category

Category

> links in category

---------------------------------------------

I want to display SEARCH results as :

> links

> links

> links

and have NO CATEGORY references breaking the links or showing up. I want all the links to be displayed together without break regardless of the category they are in.

the only variable displaying results is <%link_results%>

does anyone know how to edit this variable or wich page contains the code to remove it?? Its NOT in any of the html templates and i cannot find it in the .pl or .cgi files :(



please help!!!

Last edited by:

thetekn9ne: Oct 1, 2003, 4:53 PM
Quote Reply
Re: [thetekn9ne] Displayed Results.. how to remove category breaks? In reply to
That's one of those changes that is so simple, yet is near-impossible to find/figure out. I'm pretty sure adding the red hash in the code below will do the trick. This is from search.cgi, towards the middle of the file:

# Go through the hash just built, and build the complete link output. Store in $link_results.
foreach $setoflinks (sort keys %link_output) {
$cat_clean = &build_clean ($setoflinks);

$title_linked = &build_linked_title ($setoflinks);

#$link_results .= qq|<P>$title_linked\n|;
$link_results .= $link_output{$setoflinks};


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] Displayed Results.. how to remove category breaks? In reply to
Hey it worked!!

Thanks alot man!!!