Quote:
Originally Posted by BoardTracker
We have just added this capability..
On the advanced link add ?adv=1
So the URL should be /searchbt.php?adv=1
That way, when people click that link, they will be taken to the search page which will soon after, open the advanced search pane automatically.
|
I'm not sure I get what you mean.
In the navbar template I have this:
Code:
<!-- NAVBAR POPUP MENUS -->
<if condition="$show['searchbuttons']">
<!-- header quick search form -->
<div class="vbmenu_popup" id="navbar_search_menu" style="display:none">
<table cellpadding="4" cellspacing="1" border="0">
<tr>
<td class="thead">$vbphrase[search_forums]</td>
</tr>
<tr>
<td class="vbmenu_option" title="nohilite">
<if condition="$vboptions['boardtracker_search_active']">
<form action="searchbt.php" method="get">
<input type="text" class="bginput" name="search" size="20" /> $gobutton<br />
<else />
<form action="search.php" method="post">
<input type="hidden" name="do" value="process" />
<input type="hidden" name="showposts" value="0" />
<input type="hidden" name="quicksearch" value="1" />
<input type="hidden" name="s" value="$session[sessionhash]" />
<input type="text" class="bginput" name="query" size="20" /> $gobutton<br />
</if>
</form>
</td>
</tr>
<tr>
<td class="vbmenu_option"><a href="search.php$session[sessionurl_q]" accesskey="4" rel="nofollow">$vbphrase[advanced_search]</a></td>
</tr>
</table>
</div>
<!-- / header quick search form -->
The reference to searchbt.php is not under the advanced search link... Note that I, as admin, keep the privilege of searching using the regular search (don't know if this changes something, can't see why, as it's dynamic and not in templates but still...).