Geoff Hutchison <[EMAIL PROTECTED]> writes:
> On Sunday, April 7, 2002, at 01:08 AM, Andrew M. Bishop wrote:
> > Error - Choose a Group
> >
> > ERROR - No group_id was chosen.
> ...
> > Whatever the reason, the error message is not clear enough and would
> > put off many people.
>
> It seems to be a bug in the SF bug system. (How ironic.) Not surprisingly, you
> can always report bugs to the htdig-general mailing list.
I could if I knew that this was a possibility. There is no mention of
this option in the htdig documentation though.
> > Using version 3.1.6 of htdig the files header.html, footer.html,
> > etc. that are installed for htsearch have the image location set at
> > compile/install time.
>
> This is not different from any previous version.
No, it has always been that way.
> > There is a variable called image_url_prefix in the configuration file
> > but this is only used for the star images in the search results and
> > not the ones in the header or the htdig logo in the header.
> >
> > The ideal solution would be to make the image_url_prefix configuration
> > file variable available to the header and footer templates to allow
> > run-time configuration.
>
> You can already do this without any coding.
> allow_in_form: image_url_prefix
>
> Then in the form, use $(IMAGE_URL_PREFIX) as a variable.
I don't understand this suggestion. I added 'allow_in_form:
image_url_prefix' to the config file that htsearch uses, but there was
no change. Where am I supposed to put the $(IMAGE_URL_PREFIX), do I
need to edit the templates, this is not what I want to do.
> Perhaps this should be enabled by default as you suggest, but I don't see it as
> a very significant bug as you can easily edit the header and footer HTML files
> to your heart's content.
The problem with this suggestion is that WWWOFFLE is using htdig as an
add-on. People that install WWWOFFLE won't know about how to edit the
htdig template files and I don't want to distribute the templates with
WWWOFFLE since that ties it to specific versions of htdig.
If somebody has htdig and WWWOFFLE installed and htdig and WWWOFFLE
are working separately then it should be possible for the two programs
to work together. The problem is that they cannot because the htdig
template files are specific to the URL that the htdig search uses.
The same template files cannot be used for two instances of htdig that
have different URLs. If there are two search forms on a server then
the same problem occurs. A different config file and search database
can be used, but the template files must also be duplicated which
increases the complication of upgrading to a new version.
--
Andrew.
----------------------------------------------------------------------
Andrew M. Bishop [EMAIL PROTECTED]
http://www.gedanken.demon.co.uk/
_______________________________________________
htdig-general mailing list <[EMAIL PROTECTED]>
To unsubscribe, send a message to <[EMAIL PROTECTED]> with a
subject of unsubscribe
FAQ: http://htdig.sourceforge.net/FAQ.html