in reply to Re^3: Super Search discouraged?
in thread Super Search discouraged?
In response to a suggestion that there should be a
Super Search nodelet,
I offer the following: a customizable
mini-SuperSearch form for your
This is just an example. You can (and should) decide for yourself which fields
you want to hard-code (using inputs of type hidden), and
which fields you want to let yourself enter values for.
(The remainder will get their defaults as defined by Super Search.)
<form method="post" action="?"
<input type="hidden" name="node" value="3989" />
Author:<input type="text" name="a" size=20 value="`author_title`"/><!-
Title:<input type="text" name="HIT" size=20 value="`title`"/><!--"-->
Sep:<input type="text" name="HIS" size=2 value=" " />
Search only in/under `root_type_title`:
<input name="`root_ss_type`" value="1" type="checkbox">
<input name="re" value="A" type="radio" /> All
<input name="re" value="S" type="radio" checked="checked" /> Section
<input name="re" value="N" type="radio" /> None
<input type="submit" name="go" value="Search" />
This is pretty cool, because it uses Free Nodelet macros
to determine the type of the current thread's root node (replies are
simply type 'note', regardless of section) . The mini Super Search form is pre-loaded
with that and other relevant values from the current node: the author
and the title. You can delete/edit these values as you like before
clicking the submit button. If you decide you need more flexibility
than this (or than you can hack in your Free Nodelet), then...
you know where to find it. :-)
For extra coolness, use the Fake a Nodelet technique
to make your Mini Super Search look like a genuine nodelet!
A word spoken in Mind will reach its own level, in the objective world, by its own weight