is yet another TWiki smart search. It consists of a search CGI
) and two new search templates for a special popup search and a Mozilla/Opera sidebar.
PLEASE NOTE: See PhotonSkin for the latest version of the script.
Documentation moved to PhotonSkin
has been integrated into it.
- 02 Oct 2002
I'm initially had trouble figuring out how to get
to be the default search, so here is what finally worked for me:
<form name="photonsearch" action="%SCRIPTURLPATH%/photonsearch%SCRIPTSUFFIX%/%WEB%" method="post">
<input type="text" name="topic" size="16" />
<input type="hidden" name="scope" value="local" />
Note: parameters passed in the above manner override anything the user types in the input box. So with this setup global searches are impossible. Can this behaviour be reversed so that user entered options override form options?
- 17,22 Oct 2002
Ooops, sorry about that, it was my fault. The documentation is not correct, it's the
letter, not the
. BTW, where have you put the scope hidden variable? Perhaps you've put it only in the
file. You have to modify also
. I will write down specific instructions some day and post them right here.
- 23 Oct 2002
Thank you for the correction,
does indeed work for global searches.
I put the scope and topic inputs on the %WEBTOPICLIST % in WebPreferences
. This way the defaults can be changed without having to have shell access to the server. This also means you don't have to change every skin to match.
- 23 Oct 2002