boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search box!

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
salenjak



Joined: 02 Mar 2004
Posts: 11

PostPosted: Fri Oct 29, 2004 3:50 pm    Post subject: Search box! Reply with quote

is it possible (and how), to put up a search box, similar to the one I have in my admin? search box that would look for specific word(s) in all the news posting in my blog since day #1....

thanx for your help,
saL
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 262

PostPosted: Fri Oct 29, 2004 4:07 pm    Post subject: Re: Search box! Reply with quote

admin search box??
The search box is included in the default template and can be used by anyone. There's an improved search at http://cafelog.com/board/viewtopic.php?t=3048 or, using the default search, highlight the search string at http://cafelog.com/board/viewtopic.php?t=1793
Back to top
View user's profile Send private message
salenjak



Joined: 02 Mar 2004
Posts: 11

PostPosted: Fri Oct 29, 2004 11:26 pm    Post subject: Reply with quote

hmmmm.. can't find any searc code in my temple.. could be I deleted it!?!? ... so, couse you PLEASE copy/paste me the search part of the template?! Smile

thanx a LOT!

saL
Back to top
View user's profile Send private message
stevem



Joined: 15 Mar 2003
Posts: 262

PostPosted: Fri Oct 29, 2004 11:41 pm    Post subject: Reply with quote

The code in the default template goes in the menu sidebar.
Code:
<h4>search:</h4>

<form name="searchform" method="get" action="<?php echo $PHP_SELF; /*$siteurl."/".$blogfilename*/ ?>">
<p>
<input type="text" name="s" size="15" /><br />
<input type="submit" name="submit" value="search" />
</p>
</form>

Don't forget that if you haven't kept the orginal files you can get them at Sigg3's b2 Cafelog Resource Center
Back to top
View user's profile Send private message
salenjak



Joined: 02 Mar 2004
Posts: 11

PostPosted: Sat Oct 30, 2004 12:16 am    Post subject: Reply with quote

that's exactly what I needed! .. thanx!

saL
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group