Gossamer Forum
Home : Products : Gossamer Links : Discussions :

how to remove added,rating,votes and other details from search results?

Quote Reply
how to remove added,rating,votes and other details from search results?

Hi


I have few questions:

1.After the search, bellow of each link I have this line:
(Added: Fri May 21 2004 Hits: 1 Rating: 0.00 Votes: 0) Rate It Review It

I would like to remove this line completly from my search results. Any advice how can i do this?


2. I would like to remove image new shown after the title of the site.



3. I have 25 results per page now. Can I change this number on 20?

( I am new Links user, and have no Perl experience, so please provide as more details as you can...)

Thanks, Zoran
Quote Reply
Re: [Zoran] how to remove added,rating,votes and other details from search results? In reply to
Hi.

In link.html, you could try putting the following around the part that shows;

Quote:
(Added: Fri May 21 2004 Hits: 1 Rating: 0.00 Votes: 0) Rate It Review It

Code:
<%ifnot query%>normal stuff here<%endif%>

This way, it should only show the hits, date added, etc values; if <%query%> is NOT defined (i.e on category pages), but if its on a search results page, it WILL NOT show these extra bits of info.

Quote:
2. I would like to remove image new shown after the title of the site.

You can edit this in link.html (Build > Edit Templates), and remove the part saying;

Code:
<%if isNew%> ... <%endif%>

Quote:
3. I have 25 results per page now. Can I change this number on 20?

You need to change the setting in: Setup > Search Options.

Hope that helps :)

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] how to remove added,rating,votes and other details from search results? In reply to
   
Hi Andy

Thanks for the fast response.

I have one more question however...When I click on category, I get 25 results? I want to get 20. Which file should I edit?


Thanks, Zoran
Quote Reply
Re: [Zoran] how to remove added,rating,votes and other details from search results? In reply to
No problem.

Quote:
I have one more question however...When I click on category, I get 25 results? I want to get 20. Which file should I edit?

From memory, I think its in Setup > Build Options, but I can't remember for sure. It will definatly be in the "Setup" part of the admin panel (if its not where I suggested).

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Quote Reply
Re: [Andy] how to remove added,rating,votes and other details from search results? In reply to
Thanks Andy !!

It works great!! Cool

Best Regards,
Zoran