r7 - 01 Jan 2008 - 22:04:34 - PeterThoenyYou are here: TWiki >  Support Web > AddSearchFieldToWebLeftBar
Tags:
, create new tag

Question

Hello together,

I'd like to have a Search Field in my WebLeftBar, but... I'm getting no idea how to do so.

Can anyone help me? The search didn't get me results, but if i used the wrong keywords and this question was already asked i would not mind in getting a hint where to find the answer!

Cheers, Benjamin

Environment

TWiki version: TWikiRelease02Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS:  
Web server:  
Perl version:  
Client OS:  
Web Browser:  
Categories:  
-- BenjaminBachmann - 07 Nov 2007

Answer

ALERT! If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.

You need a search form and an input field. Copy the form and contents from WebTopBar, and optionally remove the Jump field.

-- ArthurClemens - 07 Nov 2007

Allright, thank you, but i got a little bug:If I only use the searchfield and try to search "sth" then he enters ".../WebHome?search=sth" instead of "../WebSearch?search=sth" in the adress bar of the browser. Would be cute to fix that but its not that necessary smile

Anyways, if its helping/interesting for anyone find the part of code i entered:

<form action="%SCRIPTURLPATH%/view%SCRIPTSUFFIX%/%INCLUDINGWEB%/WebSearch">
<div class="twikiSearchBox">
<label for="go">Search: </label>
<input type="text" id="go" name="search" size="16" />
</div></form><!--/twikiSearchBox-->
 
-- BenjaminBachmann - 08 Nov 2007

Closing, seems to be answered...

-- PeterThoeny - 01 Jan 2008

 
Change status to:
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r7 < r6 < r5 < r4 < r3 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo