Search Bar
63,506pages on
this wiki
this wiki
Forum page
Forums: Index → Support Requests → Search Bar
Wikia's forums are a place for the community to help other members.
To contact staff directly or to report bugs, please use Special:Contact.
To contact staff directly or to report bugs, please use Special:Contact.
Note: This topic has been unedited for 93 days. It is considered archived - the discussion is over. Do not add to unless it really needs a response.
I've made a search bar using html in Isle of Tune Wiki like shown on the main page, but how can I make it so it searches exact match? So far, what I've got in there is:
<div style="width:620px"><form name="bodyCentralSearch" id="bodyCentralSearch" class="bodyCentralSearch" action="http://isleoftune.wikia.com/wiki/Special:Search"><div class="bodyCentralSearchWrap" style="margin: 20px auto; background-color:transparent; color: #999; width: 500px;"><input type="text" name="search" size="50" placeholder="Browse Isle of Tune..." style="border:1px solid #999; padding: 10px; width: 500px; font-size: 20px;" id="bodyCentralSearchInput" /><input type="hidden" value="1" checked="checked" /><input type="hidden" value="Search" name="go" /></div></form></div>—Sam Wang 08:36, February 7, 2012 (UTC)
- Try using mw:Extension:InputBox.
- --Category:Ciencia Al Poder (talk) -WikiDex 19:13, February 7, 2012 (UTC)
I knew about this a few months ago, but how can I use html to make it search? So far, the existing source in there is:
<div style="width:620px"><form name="bodyCentralSearch" id="bodyCentralSearch" class="bodyCentralSearch" action="http://isleoftune.wikia.com/wiki/Special:Search"><div class="bodyCentralSearchWrap" style="margin: 20px auto; background-color:transparent; color: #999; width: 500px;"><input type="text" name="search" size="50" placeholder="Browse Isle of Tune..." style="border:1px solid #999; padding: 10px; width: 500px; font-size: 20px;" id="bodyCentralSearchInput" /><input type="hidden" value="1" checked="checked" /><input type="hidden" value="Search" name="go" /></div></form></div>- —Sam Wang 02:28, February 8, 2012 (UTC)
(Reset indent) That's what I did, but I am looking to how can I change the html in MediaWiki:Search Bar so that it searches exact match instead of fulltext —Sam Wang 02:33, February 9, 2012 (UTC)
- Now the problem is that it has buttons which I don't want —Sam Wang 08:31, February 9, 2012 (UTC)
- I don't see anything in w:c:isleoftune:MediaWiki:Search_Bar. If you meant w:c:isleoftune:MediaWiki:SearchBar, then it appears you figured out how to get rid of the buttons. -- Fandyllic (talk · contr) 13 Feb 2012 3:46 PM Pacific
- Then do you know how to search exact match instead of fulltext in that search bar? —Sam Wang 09:43, February 14, 2012 (UTC)
- I don't see anything in w:c:isleoftune:MediaWiki:Search_Bar. If you meant w:c:isleoftune:MediaWiki:SearchBar, then it appears you figured out how to get rid of the buttons. -- Fandyllic (talk · contr) 13 Feb 2012 3:46 PM Pacific
(Reset indent) I've already changed it to:
<div style="width:620px"><form name="bodyCentralSearch" id="bodyCentralSearch" class="bodyCentralSearch" action="/wiki/Special:Search"><div class="bodyCentralSearchWrap" style="margin: 20px auto; color: #999; width: 500px;"><input type="hidden" name="search" size="50" placeholder="Search..." autocomplete="off" accesskey="f" method="get" style="border:1px solid #999; padding: 10px; width: 500px; font-size: 20px;" id="bodyCentralSearchInput" /> <input type="hidden" value="0" checked="checked" name="fulltext" /> <input type="submit"> </div></form></div>
Then what do I need to change? —Sam Wang 11:55, February 16, 2012 (UTC)