Webmastersite.net
Register Log In

Search not working right ?
When searching adds extra gibberish

Comments on Search not working right ?

robinantill
Member

Usergroup: Customer
Joined: Aug 06, 2004

Total Topics: 10
Total Comments: 15
Posted Jan 11, 2007 - 3:40 PM:

I search on my site (instance 'Search' for 'fences) and when the results show up it has at the end of results the following:-

'PRESTON FENCING' [img>http://www.gardenbuildings.com/directory/template... > Great Britain UK
[View Link Details]



{LINKTITLE} {LINKNEW} {LINKUPDATED} {LINKADMIN}
Description: {LINKDESCRIPTION}
Rating: {LINKSTARS} ({LINKRATING}/5 based on {LINKVOTES} votes)
Hits Out: {LINKHITS} | Hits In: {LINKHITSIN}
Category: {LINKNAV[trim]}
[ Paul
developer

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 61
Total Comments: 7868
Paul
Posted Jan 12, 2007 - 5:15 AM:

Sounds like you removed a link type but then left it in the search template. Don't remove link types unless you're going to go through taking their code out of the templates.
robinantill
Member

Usergroup: Customer
Joined: Aug 06, 2004

Total Topics: 10
Total Comments: 15
Posted Jan 14, 2007 - 9:06 AM:

Hi Paul,


Thanks for the reply which enabled me to track down where the problem was. Sorry for posting this as a bug.


I had not deleted any link type so that was not the problem, but what I had done was to add two extra link types and did not put the correct code in the search templates. When I copied the code from the manual for adding extra linktypes and then altered it to suit the name of my new link type it works.


Thanks again,


Robin
Search thread for
Download thread as
  • 0/5
  • 1
  • 2
  • 3
  • 4
  • 5



This thread is closed, so you cannot post a reply.