By aeava on
Hi everyone,
I'm using 7.0-rc1 and the search box is gone! I don't know if it happened when I upgraded to rc1 or when I installed a the Omega theme that has a feature to render the search box as in Drupal 6. I've uninstalled the theme (never really used it), reinstalled it and unchecked the box, etc., but nothing.
I've deleted every trace of that theme (both 7.x-1.0 and 7.x-2.0-alpha5)
There's got to be a variable somewhere out there that enables the block.
anyone?
thanks in advance.
Note: first time I post anything, so if I'm posting it in the wrong place, I apologize.
Comments
I am not seeing the search
I am not seeing the search box for Bartik either... weirdest thing ever.
It truly IS the weirdest
It truly IS the weirdest thing.
I've also uninstalled and reinstalled the search module (in case it came back) but nothing.
hi frnd..., First you have to
hi frnd...,
First you have to make sure your block listed in http://... /admin/build/block...
If it exist there then change block region and ensure your change is reflecting in your site....
whenever you change the theme compare theme_name.info files of both theme and confirm regions of two theme are matching...otherwise you loose some blocks from their page....
if your block is not listed... track your code definition......
Note: Focus your configuration of block on Show block on specific pages: and choose appropriate condition....
good luck...,
Yes the block is not
Yes the block is not listed... I don't really know what you mean code definition. This is a fresh install of D7.
hi frnd..., I had mentioned
hi frnd...,
I had mentioned "code definition" in view of php scripting....
Go to your module and locate hook_block (drupal 6)... if it exist there, split hook_block as per following
* hook_block_info() replaces hook_block($op = 'list)
* hook_block_view() replaces hook_block($op = 'view')
* hook_block_configure() replaces hook_block($op = 'configure')
* hook_block_save() replaces hook_block($op = 'save')
also refer this http://www.group42.ca/drupal_7_blocks_whats_changed_under_the_covers
hope this will help you,
good luck...,
In my case, the search box
In my case, the search box block is NOT available for choosing under /admin/structure/block.
It used to be there, but now it's gone.
Is there not a section for
Is there not a section for 7.x issues? I say that because if it is a bug with the new version, might be worth reporting.
In my opinion, if you are a new user (you might not be but you said it was your first post), then I recommend using 6.x.
I've been using 6.x
I've been using 6.x successfully for quite a while now, but I'm starting a new site which is not too demanding and I'm using 7.x. So far it's been great (cheers to the dev team) until now.
I used to be able to use the $search_form variable in my theme and voilá, the form was there. In D7, the variable is gone and we're to use the block instead, which is fine with me. It was there, then I switched to various themes to test them, and finally settled for a basic one and now I'm building my own. After all that (and the upgrade to the lated Drupal release), I noticed the search box block was gone.
It was just my first time posting to the Forum.
hi frnd..., In which region
hi frnd...,
In which region you are keeping the search box...?
Yes, I can also confirm that
Yes, I can also confirm that there is no search box option in D7. I am the same as the other user. I have a larger D6 site, but I am starting a much simpler site that uses D7. So far so good minus the search. I have tried Zen, and Bartik and can't find the search block.
Lost block
I've got it back, albeit I had to edit the database.
Problem: Block not available under admin/structure/block (in this case, the Search Form block)
Detective work:
SELECT * FROM block WHERE theme = '[your theme]'Solution:
I changed the region to one I did have, like sidebar_second (I'm sure changing it to -1 would've worked as well) and it worked!
UPDATE block SET region='sidebar_second' WHERE theme='[your theme]' AND module='search' and delta='form'I was also looking for the New Users block and, sure enough, it had the same problem. fixed it in no time.
Comments: it seems like when I used a theme with weird regions (I have to check on this), the blocks where moved to certain regions and when I installed another theme and set it as active, the blocks didn't come back, as they're supposed to.
good job frnd...,
good job frnd...,
Thanks. This should be
Thanks. This should be reported as a bug and fixed. Very annoying.
It worked!
Thanks -- this worked for me as well!
Thanks for this post. I am on
Thanks for this post. I am on D7.0 released 5 January 2011 and it appears to still be a bug.
I agree
I have the same problem here. The fix doesnt seems to work on my Drupal7
EDIT: It finally worked! THANKS
Thanks
This worked for me. I was working on a child theme to Omega for D7.
Thanks for the fix. I've not
Thanks for the fix. I've not seen this issue before.
Okey, without hacking database, this is how you do.
Since I'm not able to touch the database on my installation I had to figure it out another way and it worked!
1. My subtheme did not have a search form, so I had to find a theme with it.
2. Bartik theme has a built in search form. So I enabled Bartik theme. Appearance >> Activate Bartik
3. Go to Structure >> Blocks and in the top right corner it says Bartik, click
4. Find search bar and click configure.
5. There you find region settings, now you see all enabled themes and which region it's in.
thank you for workaround, it
thank you for workaround, it worked well for me
SOLUTION
The above solution by jocken solved this.
This is still an issue in Drupal 7.8.
Works!!
This helped a great deal....thanks a bunch!