Hi,<br>
<br>
I am working on a content management project.(Using PHP for the first
time). I have managed to add the search button to the skins tmpl file
and it dislays fine on my web page but I have no clue as to how to
activate this function.<br>
Here is what I added to the skin TMPL file:<br>
<span style="color: rgb(51, 102, 255);"></div></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> <div id='content'></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> <div id='col-left'></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"><tr></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">
<td valign="top" width="50" style="padding-top:
12px"> </span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">
<table cellspacing="0" cellpadding="2" border="0"
bgcolor="#ffffff"
width="185%"><tr><td>
</span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> <table cellspacing="2" cellpadding="2" border="0" bgcolor="#000000" width="185%"></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> <tr><td class="searchheader"></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">
<strong><a
href="$ScriptUrl/PmWiki/$[SearchWiki]">$SearchWiki</a></strong></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> </td></tr></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> <tr><td class="searchcell"></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">
<form action=''$ScriptUrl/PmWiki/$[SearchWiki]"></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">
<input type="hidden" name="n" value="PmWiki.SearchWiki" /></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">
<input class="navinput" size="25" type="text" name="guixt"
value="" /> </span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">
<input class="navbutton" type="submit" value="$[Go]" /></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);">
</form></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> </td></tr></span><br style="color: rgb(51, 102, 255);">
<span style="color: rgb(51, 102, 255);"> </table></span><br>
In the CSS I added the following:<br>
<span style="color: rgb(51, 51, 255);">.searchheader {</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> font-size: 12px;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> font-weight: normal;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> line-height: 12px;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> padding-left: 5px;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> color: #003F87;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> background-color: #6E7B8B;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">}</span><br style="color: rgb(51, 51, 255);">
<br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">.searchheader a {</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> font-size: 12px;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> font-weight: bold;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> line-height: 12px;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> padding-left: 3px;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> color: #eee;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> </span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> text-decoration: none;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">}</span><br style="color: rgb(51, 51, 255);">
<br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);">.searchcell {</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> font-size: 10px;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> font-weight: normal;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> line-height: 10px;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> padding-top: 5px;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> padding-left: 5px;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> padding-right: 5px;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> padding-bottom: 0px;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> color: #5A6F5A;</span><br style="color: rgb(51, 51, 255);">
<span style="color: rgb(51, 51, 255);"> background-color: #C4C4C4;</span><br>
<br>
Please let me know what I need to add to the config guide. I am
not even sure if I am in the right direction with this whole search
thing. <br>
<br>
Appreciate any input!<br>
<br>
Thanks,<br>
-Ananya<br>