Gossamer Forum
Home : Products : DBMan : Customization :

Keyword search

Quote Reply
Keyword search
Hi there,

Search the database is going oke, but if search by keyword i got a problem.
I have 2 field inside the database which are a e-mail address and a www URL.
Because search by keyword, in looking in all field and the word looking for also exist in the e-mail and www address these field are been bold show as a search result. But because of this bold the e-mail and www adres no longer works. a <b> and a </b> is been added to these field.

How can i resolve this problem?

With greetings

Marcel
Quote Reply
Re: Keyword search In reply to
In html_record, after

my (%rec) = @_;

add

$rec{'fieldname'} =~ s/<?.B>//g;

Replace fieldname with the name of the field you do not want to be bolded.

The other option is to set $db_bold to 0 in the .cfg file.


------------------
JPD