Hi there Karyn,
For the implementation I am using, I've managed to use a full search
You will need something like the following:-
in your htdig.conf file. You will also need to do similar lines for the
nomatch/incorrect syntax directives.
Within your wrapper.html, you can then include the special variables that
are used with htsearch to populate the page with data, for example I have:-
<td align="left">Documents $(FIRSTDISPLAYED) - $(LASTDISPLAYED) of
<td width="40%"> </td>
<td align="right">$(PREVPAGE) $(PAGELIST) $(NEXTPAGE)</td>
$(PREVPAGE) $(PAGELIST) $(NEXTPAGE)
In my wrapper.html - as well as a bunch of other design/layout code so that
the look & feel of the site is not compromised.
I hope this helps,
+1 (416) 661-2100 ext. 250
----- Original Message -----
From: Cassio, Karyn
Sent: Thursday, September 30, 2004 7:19 PM
Subject: [htdig] custom htsearch template
Does anyone have a good example of a custom results template?
I am trying to use the attribute template_patterns in my config file to
create a custom template to match the look and feel of one of my sites.
The best I've been able to do puts in the default header page, then instead
of the body substitutes my custom template, then the footer looks correct.
Any help would be greatly appreciated.