PDA

View Full Version : highlight search terms in articles on a Mambo CMS site


moonbeaver
06-20-2005, 05:18 PM
For anyone who's interested:

we couldn't get the highlight function to work on our articles for a while. We finally discovered that the problem was in the links to the articles, so we edited lines 1190 - 1192 in the Zoom generated search.php file:

"?zoom_highlightsub=" (line 1190)

became

"&zoom_highlightsub="

and

"?zoom_highlight="

became

"&zoom_highlight="

I don't know if there's a proper way round this, but this hack worked for us!

Ray
06-21-2005, 01:01 AM
You might be using an older build of Zoom (click Help->About to check). This bug should already be fixed in the latest public build (Version 4.0 build 1016) which is available from here:
http://www.wrensoft.com/zoom/whatsnew.html

Anonymous
07-22-2005, 09:06 PM
I've just downloaded Version 4.1.1003 (11 Jul 2005) and I've had to do the same thing for the generated search.asp.

Ray
07-25-2005, 05:26 AM
We just checked this, and you're right. This was accidentally left out of the ASP script for the current build (note that it is fine for the PHP, JS and CGI versions however).

We'll make sure to add this fix back in the ASP version for the next build. Thanks for bringing it to our attention.