Tell me more ×
Drupal Answers is a question and answer site for Drupal developers and administrators. It's 100% free, no registration required.

I am creating my first theme. I don't see the "Search form" block under structure>block for my theme. It is present for other themes. I am not sure what I am doing wrong. Should I put something the the .info file to enable it? NB: I am working with Drupal 7.

share|improve this question
You shouldn't need to do anything special within your theme to enable the search form block. If that block is available in other themes, there is no reason it would not be available in your theme. Have you carefully checked the list of disabled blocks for your theme to make sure the search form block is not located in that list? – sheena_d May 31 '12 at 14:39

2 Answers

up vote 1 down vote accepted

It turned out that there was nothing wrong with my theme. I installed the theme in a new installation of drupal and the search block was available.

share|improve this answer

I had a similar problem in that it was not showing up under Structure -> Blocks. I found it under Dashboard as a block. I then enabled it for my theme by configuring the search form block in the Dashboard. It then shows up under Structure -> Blocks.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.