[Xapian-tickets] [Xapian] #310: Set template name in omega.config
Xapian
nobody at xapian.org
Sun Nov 9 19:53:07 GMT 2008
#310: Set template name in omega.config
-------------------------+--------------------------------------------------
Reporter: marco | Owner: olly
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Omega | Version: SVN HEAD
Severity: normal | Resolution:
Keywords: | Blockedby:
Platform: All | Blocking:
-------------------------+--------------------------------------------------
Changes (by olly):
* platform: Linux => All
Comment:
Thanks for your patch.
Note that you can just specify the template name by setting the FMT CGI
variable in your HTML search form with:
{{{
<input type="hidden" name="FMT" value="...">
}}}
That will appear in the URL (if your form uses method=GET), and the user
can override it in their web browser, but the same is true with your patch
as it currently stands.
This patch would need to update the documentation to mention this new
configuration option.
And what happens is fmt_name isn't set (as it won't be in any existing
omega.conf)? I think the default of "query" would need to stay in this
case to not break existing installations...
--
Ticket URL: <http://trac.xapian.org/ticket/310#comment:1>
Xapian <http://xapian.org/>
Xapian
More information about the Xapian-tickets
mailing list