how add search box in new pages ---help needed!

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

how add search box in new pages ---help needed!

zhu xuening
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
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
Reply | Threaded
Open this post in threaded view
|

Re: how add search box in new pages ---help needed!

Rob Church
On 01/06/06, zhu xuening <[hidden email]> wrote:
> 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 :

http://meta.wikimedia.org/wiki/Help:Inputbox


Rob Church
_______________________________________________
MediaWiki-l mailing list
[hidden email]
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l