Question
First of all thank you ClaussStrauch for answering my last question, we were able to install the skin and get it working nicely. However, I now have a new question. The "List Topics" bar in the left sidebar searches for topics with the name that one enters into the form. I would like to change it into a "Search Topics" bar instead, that does a simple topic text (body) search in all webs. I assume that this would require a change in a template, but I am not sure.
Environment
--
DorianScrima - 25 Aug 2005
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Yes, you'll need to change the template. The relevant file is dragonmenu.dragon.tmpl (or, if you decided to get this menu from a topic, whatever topic you're using). Look near the top and you'll see html form that does this search box .
You can probably replace this form with something like:
(view the raw text of this topic to see how the above box is implemented)
--
ClaussStrauch - 25 Aug 2005
A few more things: you can leave out the fixed size for the textbox in the example I gave. Also, you may want to tweak the CSS a bit (CSS is in pub/TWiki/DragonSkin) if you remove the "search text" line under the searchbox in order to fix possible spacing problems. Alternatively, just change the "search text" line to "Advanced search" and point it at the appropriate URL for the WebSearchAdvanced page.
--
ClaussStrauch - 25 Aug 2005