How can I make the 'Search Single Content Type' the default tab on Advanced Search page?
How to make 'Search Single Content Type' the default tab on Advanced Search page?
Collapse
X
-
Modify the navbar template and add "?search_type=1" to the end of the search.php url.
HTML Code:<li><a href="search.php{vb:raw session.sessionurl_q}?search_type=1" accesskey="4">{vb:rawphrase advanced_search}</a></li>
Please don't PM or VM me for support - I only help out in the threads.
vBulletin Manual & vBulletin 4.0 Code Documentation (API)
Want help modifying your vbulletin forum? Head on over to vbulletin.org
If I post CSS and you don't know where it goes, throw it into the additional.css template.
W3Schools <- awesome site for html/css help -
-
Thanks Lynne, This helps a ton!
What template do I edit to make this same change to the search link on the search results window? It appears next to the Home icon (area of the crumb trail).
See this page for an example:
Thanks,
TrevanComment
-
To find the template to modify, do this - vboptions > General Settings > Add Template Name in HTML Comments > set to Yes . Then go back to your page and view the source code and you will see the name of the template called around your part of the code. (Sometimes the template is the one mentioned at the very top of the page source.)
Please don't PM or VM me for support - I only help out in the threads.
vBulletin Manual & vBulletin 4.0 Code Documentation (API)
Want help modifying your vbulletin forum? Head on over to vbulletin.org
If I post CSS and you don't know where it goes, throw it into the additional.css template.
W3Schools <- awesome site for html/css helpComment
Related Topics
Collapse
-
by Dan HochHi
Is there a setting that I'm missing that would change the default search feature to use the advanced search? Essentially I want to make the advanced search the default search.-
Channel: Support Issues & Questions
-
-
by osras1On my home page I am using a activity stream for latest activity, a search module for Latest topics, can I use a second search module on that page that has activity only from my sponsor page?
-
Channel: Support Issues & Questions
-
Comment