| www.simball.de | Links mods | Result Mod | 

Gossamer-Threads - Links 2.0 mod

Search Result Mod Extension - for templates

The Search Result Mod Extension is an extension for Links 2.0 by Gossamer Threads Inc. to show the search terms and the search options like the boolean connectors AND/OR, 'As Keywords' or 'As Phrase' on the search result page like the following.

Example:

Search result of the normally Links version:
"Your search returned 2 categories and 31 Links."

Search result with the extension:
"Results for borussia or dortmund"
"Your search returned 2 categories and 31 Links."

You can see the extension shows with which options the search runs.
This Links 2.0 extension is totally freeware.

See it in action: here. Instructions in a text file: follow this.


Step 1:

File: search.cgi

In search.cgi in sub main find:

code:


# Print out the HTML results.
Above the following:

code:


&site_html_search_results;
Add the following:

code:


Step 2:

File: search_results.html

In the search_results.html template above:

code:


<p>Your search returned
Add the following:

code:


<p><%$resultout%>

Step 3:

File: site_html_templates.pl

In site_html_templates.pl in sub site_html_search_results add:

code:


resultout => $resultout,
above the following:

code:


%in,

That's it. Enjoy it. For installation of modifications please visit the webservices.


AnzeigeBundesligatip

Problems with installing or questions, visit the Gossamer-Threads Support Forum.


| Top