Tags:
create new tag
, view all tags

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 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.

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 | Attach | Watch | Print version | History: r7 < r6 < r5 < r4 < r3 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r7 - 2008-01-01 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.