Forum OpenACS Development: Re: Highlight Search Result

Collapse
Posted by Ryan Gallimore on
Hi Lourdes,

Take a look at /packages/search/www/search.adp
and edit that file, the related message keys and CSS.

Cheers.

Collapse
Posted by Lourdes Martínez on
Hi Ryan:

I was seeing search.adp, but I don't now how I implement it in my search.

I only need that when I press the button "search" in my aplication, the words of my search, highlight with another color or format.

Please can you explain me, how can I do that.
Thanksss.

Collapse
Posted by Ryan Gallimore on
Hi Lourdes,

I've not done this before myself, but your best bet might be to search and rewrite the text in the ADP, wrapping the search query in a div with CSS.

Take another look at search.tcl/.adp. It's already done there, so you might as well start with that.

Hope that helps.