PDA

View Full Version : phpdig highlight class only for first search word


manute
10-15-2003, 07:04 AM
hi!

there's another one on my list of bugs that i'd like to have fixed:
on the results-page phpdig puts the search-words in a <span class="phpdigHighlight">. that's a nice thing - if it would work correctly. :-)
the problem is: it only puts the first word in that class, other words are not highlighted. is that a known bug? any fixes available?

Rolandks
10-17-2003, 11:06 AM
Sorry don't understand the Problem :confused:

See: documentation apache are highlight (http://www.phpdig.net/demo/search.php?template_demo=.%2Ftemplates%2Fphpdig.html&site=0&path=&result_page=search.php&query_string=document+Apache&search=Go...&limite=10&option=start)

-Roland-

manute
10-17-2003, 11:32 AM
??? that is really strange. now it suddenly works with my site, too.
but it definitely didn't before. strange. perhaps it's still some kind of bug, that it doesn't in some special cases. i'm gonna keep my eyes open...

sid
10-17-2003, 07:42 PM
but, try a query containing 2 words beside each other, it won't highlight both words but it'll only highlight one :-( thats a major BUG.

Please fix it.

Charter
10-17-2003, 08:37 PM
Hi. It looks to be a problem with the "exact words" option and will be worked on for a future release. :)

manute
10-18-2003, 03:16 AM
right. that was the problem. when you search aus "exact" it won't highlight both.

Charter
11-26-2003, 09:10 AM
Hi. This should be fixed in PhpDig version 1.6.4.