Custom search seems to be expecting that users will have the permission to use the advanced search from the core search module (I could be wrong though).
At custom_search.module line 107 (in the custom_search_form_alter function), the module checks if $form['advanced'] is set. If it is then it sets the display options. In the case where the user does not have the permission to use the advanced search, $form['advanced'] does not seem to be set so the module never applies the changes.
A workaround without hacking the module seems to be to give the 'use advanced search' permission to the user but that does not seem appropriate as for my case for the search page I just wanted to hide the basic search form.
Please do correct me if I am wrong and/or if I missed something else :)
Just found that my template is incompatible maybee this is your problem as well see http://drupal.org/node/1412730
try testing your settings using the bartik theme
I'm taking some liberty but a support request from over a year ago is probably
fixed or irrelevant. If you disagree, please reopen and provide more
details.
Comments
Comment #1
jlaurin commentedSame thing in 7.x-1.7
Comment #2
dkingofpa commentedSub
Comment #3
mollybee commentedComment #4
mollybee commentedI've unchecked all the options under "Select data to display below each result." but they're all still displayed.
Comment #5
pavlosdanCustom search seems to be expecting that users will have the permission to use the advanced search from the core search module (I could be wrong though).
At custom_search.module line 107 (in the custom_search_form_alter function), the module checks if $form['advanced'] is set. If it is then it sets the display options. In the case where the user does not have the permission to use the advanced search, $form['advanced'] does not seem to be set so the module never applies the changes.
A workaround without hacking the module seems to be to give the 'use advanced search' permission to the user but that does not seem appropriate as for my case for the search page I just wanted to hide the basic search form.
Please do correct me if I am wrong and/or if I missed something else :)
Comment #6
tgh123 commentedJust found that my template is incompatible maybee this is your problem as well see http://drupal.org/node/1412730
try testing your settings using the bartik theme
Comment #7
heddnI'm taking some liberty but a support request from over a year ago is probably
fixed or irrelevant. If you disagree, please reopen and provide more
details.