Log in

View Full Version : Please someone help! (Search)


EvilKitty
08-21-2007, 02:44 AM
I've done everything i can think thats humanly possible to incorporate the 'quick search' and 'quick links' functionality to the respective buttons, but with no success.

My search button 'always' directly me to search.php - i'm a PHP n00b, but that doesn't compare to my lack of knowledge in the realm of javascript. Does anyone know what the problem could be?

I tried sharing the varieties of code i've tried, but it would be a touch excessive at this point to share it all.

I want quick link and quick search functionality on an image - can someone please help?

Dave Hawley
08-21-2007, 07:38 AM
Just pinch the required code from the Navbar template

EvilKitty
08-21-2007, 02:57 PM
See, thats the problem - I did and nothing happened. Its nothing to do on my end because the Javascript worked on every other style... so my natural assumption was that there was something in my code thats conflicting.

But after wading through it, i havent found anything.

Lynne
08-21-2007, 03:07 PM
Post the code here and maybe we can see what is wrong - or post a link to your forum so we can look at the source code.

EvilKitty
08-21-2007, 03:26 PM
<td id="navbar_search" class="vbmenu_control"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[search]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("navbar_search"); </script></if></td>

I lifted that code right from the default vbulletin style and then put and image in place of '$vbphrase[search].