Closed (fixed)
Project:
Custom Search
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2011 at 04:39 UTC
Updated:
18 Nov 2016 at 09:58 UTC
Jump to comment: Most recent
Comments
Comment #1
Vc Developer commentedAlso the option to hide the Search Form that appears with the Advance Search Form. IMO its not needed. I'm using the default theme with the Search Form in the sidebar and I have three Search Forms on one page. Looks redundant.
Comment #2
grasmash commentedI would also appreciate the ability to link a page with the advanced search uncollapsed.
Comment #3
grasmash commentedWorkaround:
I used the JS Injector module to add this JS to any pages matching "search*" url:
Just create link to "/search#advanced-search"
Comment #4
mcfilms commentedIs this still the best (only?) way to have a stand-alone "Advanced Search" page? You basically have to trick the advanced tab to be revealed by injecting javascript?
Comment #5
heddnThis is an old issue. I'm marking it fixed but if you disagree, please update and provide additional information.
Comment #7
spidersilk commentedTo add an advanced search link to the basic search box, make a copy of search-block-form.tpl.php (from the core search module) and put it in with the template files for your theme. Edit it to add:
right before the closing lines:
Now rebuild your theme registry (there are several ways of doing this - the Flush Caches submenu in the Admin Menu module is the easiest), and voila. You can use the #adv_search_link ID to add styling in your theme's CSS if you like.
It would be nice if this module had that as an option that could be turned on and off, though, for those who may not be comfortable editing template files (though this is a pretty easy edit).
Comment #8
jdanthinne commentedPatches are welcome to add this feature…
I'm busy updating the module to D8.
Comment #9
martinma commentedI just still miss this feature too. It would be really great to have an option to have the link to advanced search on default search block.
Unfortunatelly I cant open it again, so I have to create a new one for drupal 8.x ...