Timeline for How to show block on pages with URLs containing a question mark ( 'searchquery' )?
Current License: CC BY-SA 3.0
14 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 18, 2016 at 12:54 | history | tweeted | twitter.com/StackDrupal/status/744151255279341568 | ||
Jun 18, 2016 at 10:48 | answer | added | Pierre.Vriens | timeline score: 0 | |
Jun 18, 2016 at 10:48 | history | edited | Pierre.Vriens | CC BY-SA 3.0 |
Improve title and fix typos
|
Apr 24, 2013 at 12:43 | vote | accept | FLY | ||
Apr 23, 2013 at 15:35 | history | edited | FLY | CC BY-SA 3.0 |
refreshed edit part of the question to include the given answers in search of the best answer
|
Apr 22, 2013 at 17:13 | answer | added | Jimajamma | timeline score: 1 | |
Apr 22, 2013 at 15:32 | answer | added | FLY | timeline score: 1 | |
Apr 22, 2013 at 13:23 | history | edited | FLY | CC BY-SA 3.0 |
made my question shorter, and added the edit section to find a solution using hook_block_info
|
Apr 22, 2013 at 13:21 | answer | added | Lester Peabody | timeline score: 4 | |
Apr 22, 2013 at 13:17 | history | edited | FLY | CC BY-SA 3.0 |
added 1035 characters in body; edited title
|
Apr 22, 2013 at 9:41 | comment | added | Alfred Armstrong | Essentially, depends how deep you want to go with this. You could directly probe the view object to see which URL variables apply for your search if you want to make it tighter. | |
Apr 22, 2013 at 9:38 | comment | added | FLY | So in a custom module I should create a block ( or hook the bock but when already creating a custom module ... ) And then check the $_SERVER string? | |
Apr 22, 2013 at 9:27 | comment | added | Alfred Armstrong | Block visibility only checks the path part of a URL so you can't detect the presence of a query in this way. You could use PHP to do it. The cleanest way to do that would be in a custom module but you could also use a PHP visibility setting for the block. | |
Apr 22, 2013 at 8:49 | history | asked | FLY | CC BY-SA 3.0 |