Hello and thank you for a very useful modul!
I have configured some blocks (both custom and from modules) to show on the search/search result pages, but get some strange results.
These are the paths I have have entered in the "Show block on specific pages" with the "Only the listed pages" option selected:
search
search/*
search/search_by_page
search/search_by_page/*
These are the results I get for different paths:
search/search_by_page -> block visibility works as expected
search/search_by_page/does%20not%20exist -> block visibility works as expected (i.e. search for something that does not yield an results)
search/search_by_page/exists -> block visibility does not work (i.e. search for something that does exist)
Does that provide you with enough information, or would you like me to do any particular debugging? Am I doing something wrong or do you have an idea what might cause this behavior?
Thans!
e
Comments
Comment #1
jhodgdonThat seems kind of odd. I don't know what would cause this... Block visibility is handled by the core Blocks module, not Search by Page, so I don't think Search by Page can affect it. I guess you might also try adding
search/
search/search_by_page/
(without the *) to the list and see if that helps?
You might also consider trying the contributed Context module (http://drupal.org/project/context) to manage your blocks instead of using just the core Blocks module. I think Context does a better job of matching paths than the core Blocks module.
Comment #2
kirie CreditAttribution: kirie commentedThanks for the quick follow-up - I'll have to investigate this further tomorrow (and will update here as well). Cheers!
Comment #3
jhodgdonAt this point, I'm going to assume that you got everything working -- feel free to re-open this issue and post more information if not.
Comment #4
kirie CreditAttribution: kirie commentedHey jhodgdon , yeah - sort of - I did unfortunately not have time to track down the specific issue in detail (deadline looming ominously close), and there were a bunch of modules which could have interfered, but when I disabled search_by_page, the issues went away. For future reference, these are the search modules/tools which were also in use: custom search (and custom search internationalization), display suite search, and core search.