![]() |
|
|
Thread Tools |
|
#1
|
|||
|
|||
|
Search box
You know the search box on the navbar (the drop down one)
Is there a way for me to copy the code for that but change it so i can have 2 search boxes. So on the 2nd search box if users entered a name for example it would search **********/pictures.php?let=demi So i would need to swap the 2nd search box for my code above which would just search my pictures. No members have liked this post.
|
|
#2
|
||||
|
||||
|
Similar to how vb.com does it with the forums and the projects? Sure, I'd take a look at that code and see how they did it (just two different forms I would guess).
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
|
#3
|
|||
|
|||
|
Thanks for quick reply
ive tried to look for the code - do u know exactly which part i need to copy so i can add a new search box to the drop down menu Lynne. No members have liked this post.
|
|
#4
|
||||
|
||||
|
Well, I'm not gonna copy vb.com's source here, you can see it yourself on their page. Just look at everything between <br><!-- header quick search form --><br> and <br><!-- / header quick search form --><br><br>That's all the drop-down menu content. Each one of the searches has it's own form with all of it's own form action and 'hidden' fields and such.<br>
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
|
#5
|
|||
|
|||
|
ive had a look in navbar is a lot of search code there.
No members have liked this post.
|
|
#6
|
||||
|
||||
|
I would start by just copying the regular search code and changing the form action for your pictures.php page and then see what happens. Look at the pictures page and see what variables it expects to have passed and then change the hidden input lines to carry those variables.
__________________
Try a search before posting for help. Many users won't, and don't, help if the question has been answered several times before.
W3Schools - Online vBulletin Manual If I post some CSS and don't say where it goes, put it in the additional.css template. I will NOT help via PM (you will be directed to post in the forums for help.) No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Google/Adsense Site Search Integrated into Advanced Search Page | markbolyard | vBulletin 3.6 Template Modifications | 19 | 21 Sep 2010 15:16 |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 20:33.



