From: Jonathan S. <jn...@ge...> - 2006-02-22 21:11:48
|
On Wed, 2006-02-22 at 15:41, Ken Browder wrote: > Hello and thank you for reading. > > I just downloaded Simple Search and I am trying to implement it into > our web pages. > > I do have it working quite well on my desktop computer but not yet on > our web site. I NEED to embed it into my page template some way. I > have cudgled my brain but can't seem to work it out. > > Of course, I have the search form on my front page, but the search > results come out full page without CSS control. You can apply a CSS stylesheet to the results by setting the $style configuration. As it currently stands the only further customization you can do to the search results is by editing the search.pl and carefully changing the the HTML in the subroutines start_html print_result end_html Starting at around line 380. You need to be careful editing this as it is very easy to introduce a syntax error into the program. We do have on our TODO list a new search program which will use templates for the output and an external configuration file in the same way and using the same underlying components as our TFmail program - I've copied the devel list incase someone feels inclined to start knocking this together. /J\ -- This e-mail is sponsored by http://www.integration-house.com/ |