Closed (fixed)
Project:
Black Piano
Version:
6.x-1.1
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
6 Jan 2011 at 12:22 UTC
Updated:
9 Jan 2011 at 09:18 UTC
Jump to comment: Most recent file
Hi all,
The search box included into the theme header doesn't work.
Apparently it's because some form hidden params (form_build_id and form_id) are missing :
- search block manually included (ie. with admin>build>block) : these params are present into the form and it works well.
- search block included into the Garland theme : the same
- search block included into the BlackPiano theme : no hidden params are included and the form doesn't work !
Anyway thanks a lot for that theme, it's very classy ! :)
| Comment | File | Size | Author |
|---|---|---|---|
| #6 | search_theme_form.tpl_.zip | 373 bytes | webmatter |
Comments
Comment #1
chee_52 commentedComment #2
chee_52 commentedComment #3
webmatter commentedHi turman, please check this thread http://drupal.org/node/1008220
If you enable searchbox in your theme settings and set the permissions accordingly the searchbox should display correctly.
Comment #4
turman commentedYes the searchbox is enabled in my theme settings and I have only 3 kinds of permissions for the search module :
- admin search : only enabled for "author" role
- search content: enable for every body (anonymous user, authenticed user and author)
- advanced search : the same
So I don't think that issue is related to permissions..
And as I said, the search block is working well when it's manually included (ie. with admin>build>block) or when it's included into the Garland header. And in that two cases the hidden params (form_build_id and form_id) are present into the search form..
Comment #5
webmatter commentedDo you have a link to your site? The searchform appears in the header as soon as you enable it. It's not a block region and you don't need to include anything manually.
Comment #6
webmatter commentedHi turman, sorry ... I was thinking of a display issue whereas you were talking about functionality :)
Thank you very much for your hint. You are right the hidden parameters were missing.
I have added
to search_theme_form.tpl.php and I am attaching the amended file as zip.
Will update the theme package asap.
Comment #7
turman commentedThanks again for that quick fix ! :)
Comment #8
webmatter commented