Gossamer Forum
Home : Products : Links 2.0 : Customization :

search results number list

Quote Reply
search results number list
as I can modify the rultatis of the search.Example now 30 results are visualized but I want that is visualized 10 like I must do?


thanks
- - - - - - - - - -- - - - - -
DirectoryNautica-Italia
http://www.nauticalink.it
Quote Reply
Re: [blecchi] search results number list In reply to
Search.cgi, near the top:

# Set maximum hits -- default to 25.
local $maxhits = 25;
if ($in{'mh'} && (($in{'mh'} == 10) || ($in{'mh'} == 25) || ($in{'mh'} == 50) || ($in{'mh'} = 100))) {
$maxhits = $in{'mh'};

Change the 25 to 10.


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] search results number list In reply to
thanks
- - - - - - - - - -- - - - - -
DirectoryNautica-Italia
http://www.nauticalink.it
Quote Reply
Re: [PerlFlunkie] search results number list In reply to
as I can have many results when a search in the motor of search


thanks
- - - - - - - - - -- - - - - -
DirectoryNautica-Italia
http://www.nauticalink.it
Quote Reply
Re: [blecchi] search results number list In reply to
Sorry, I told you wrong... Blush

Change that 10 back to 25 (above post), then look in links.def, where you will find the code that determines how many results show up per page:

# Maximum number of hits returned in a search. Can be overridden in the search
# options.
$db_max_hits = 10;


Leonard
aka PerlFlunkie
Quote Reply
Re: [PerlFlunkie] search results number list In reply to
as I can mend the menu of the categories in way coretto and then because when I go from the first page the menu and small writing and instead in the 2 page the menu changes and the text becomes great. http://lnx.nauticalink.it/links/Vela/

thanks
- - - - - - - - - -- - - - - -
DirectoryNautica-Italia
http://www.nauticalink.it