[Mediawiki-l] how add search box in new pages ---help needed!

zhu xuening thyxuening at utsz.edu.cn
Thu Jun 1 09:24:42 UTC 2006


Hi, folks! I need your help!
I have been trying to solve it myself for hours (sorry, I am a 4 days old wiki fan), please help!

I want to add the search box under the navigation bar to another page(on the same wiki). In a new pageI tried to copied the following html code :

  <div id="p-search" class="portlet">
  <h5><label for="searchInput">search</label></h5>
  <div id="searchBody" class="pBody">
   <form action="/data/wiki/index.php/Special:Search" id="searchform"><div>
    <input id="searchInput" name="search" type="text" accesskey="f" value="" />
    <input type='submit' name="go" class="searchButton" id="searchGoButton" value="go" />&nbsp;
    <input type='submit' name="fulltext" class="searchButton" value="search" />
   </div>

I also tried to use the source code in another wiki website( http://www.cpdl.org/wiki/index.php/Main_Page), howvever neither worked for me. I only saw a bunch of html code showed up.

please help!!!



朱学宁
0755-26032956


More information about the MediaWiki-l mailing list