PHP WEB SCRIPTS    Support Forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search Bar Editing

 
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Link Up Gold Support & Discussion
View previous topic :: View next topic  
Author Message
tipudiwan



Joined: 31 Mar 2006
Posts: 108
Location: London

PostPosted: Wed May 25, 2011 4:18 am    Post subject: Search Bar Editing Reply with quote

Hi Richard

Please can you advise what i have to do to change the search bar.

1, I would like to have one option for search i.e keyword input and search button. (no need for blogs,news etc.)
The results would show all results from blogs, videos etc.

2, Can it be placed in certain areas only if i use _in4 template how would it work.
_________________
www.wholesalers4u.co.uk The Wholesalers Directory
Back to top
View user's profile Send private message
PHPWebScripts
Richard - Admin


Joined: 13 Jan 2003
Posts: 6235

PostPosted: Wed May 25, 2011 6:49 am    Post subject: Reply with quote

This part of the code is used for the "search all" form:
<form method="get" action="#%site_url%#/search.php">
<img src="#%site_url%#/images/icon_search_small.png">&nbsp;<input name="phrase" maxlength=120 class="field13" value="#%original_phrase%#" style="width:360px;">
<input type="submit" value="Site search" name="B1" class="button13" style="width:140px;FONT-SIZE:16px;">
</form>

You can remove the other parts of the search form in the template _head2.txt and use only this simple form, then all the other options will not be available. You also can move it to the template _in4.txt. Then you can use the variable #%in4%# in any html template to show this content. I also can do it.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PHP Web Scripts Forum Index -> Link Up Gold Support & Discussion All times are GMT - 6 Hours
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 © 2001, 2005 phpBB Group