[pmwiki-users] Search function query
ABC XYZ
anon.catch at gmail.com
Thu Apr 5 16:17:24 CDT 2007
Hi,
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.
Here is what I added to the skin TMPL file:
</div>
<div id='content'>
<div id='col-left'>
<tr>
<td valign="top" width="50" style="padding-top: 12px">
<table cellspacing="0" cellpadding="2" border="0" bgcolor="#ffffff"
width="185%"><tr><td>
<table cellspacing="2" cellpadding="2" border="0" bgcolor="#000000"
width="185%">
<tr><td class="searchheader">
<strong><a
href="$ScriptUrl/PmWiki/$[SearchWiki]">$SearchWiki</a></strong>
</td></tr>
<tr><td class="searchcell">
<form action=''$ScriptUrl/PmWiki/$[SearchWiki]">
<input type="hidden" name="n" value="
PmWiki.SearchWiki" />
<input class="navinput" size="25" type="text"
name="guixt" value="" />
<input class="navbutton" type="submit" value="$[Go]"
/>
</form>
</td></tr>
</table>
In the CSS I added the following:
.searchheader {
font-size: 12px;
font-weight: normal;
line-height: 12px;
padding-left: 5px;
color: #003F87;
background-color: #6E7B8B;
}
.searchheader a {
font-size: 12px;
font-weight: bold;
line-height: 12px;
padding-left: 3px;
color: #eee;
text-decoration: none;
}
.searchcell {
font-size: 10px;
font-weight: normal;
line-height: 10px;
padding-top: 5px;
padding-left: 5px;
padding-right: 5px;
padding-bottom: 0px;
color: #5A6F5A;
background-color: #C4C4C4;
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.
Appreciate any input!
Thanks,
-Ananya
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20070405/6bff30c7/attachment.html
More information about the pmwiki-users
mailing list