I'm not sure exactly what is causing it, but whenever I turn the search box in the header on it displays for a short period and then I'll notice it's disappeared during one of my many page refreshes while I'm tweaking the subtheme. I have my subtheme set to rebuild the theme registry on every page request. That is, I have Zen set like this (the Zen options do not appear on my subtheme configuration page). It's possible I've set it up wrong though.
Comments
Comment #1
harrisben commentedSorry, I meant to say that when I've noticed the search box is gone it's changed to disabled on my subtheme settings page and enabling it again brings it back, but only until it disappears once more. This occurs less frequently than every couple of minutes and more frequently than every day.
Comment #2
kdebaas commentedCould you verify if your subtheme is installed correctly according to the instructions? If that is the case, you might try flushing the Drupal cache at /admin/settings/performance, before enabling the search form.
If your subtheme is installed correctly, you should be able to enable the theme registry rebuilding on your subtheme settings page, as well as the wireframe option. So if these options aren't there, it might be a symptom of a problem related to your dissappearing search box.
Comment #3
harrisben commentedI followed the instructions where possible (some items no longer apply, such as copying zen.css). I've tried clearing the cache and the problem seems to persist.
Although I can't see the option on my subtheme configuration page to enable rebuilding the theme registry on every page load, it seems to be enabled as the message appears above my content.
Comment #4
kdebaas commentedNormally, you should be able to, for example, have theme registry rebuilding switched ON for your zen theme, and OFF for your subtheme, or vice versa. So those options should be there.
Why don't you post the contents of your subtheme's template.php and theme-settings.php here, so we can take a look?
Comment #5
okeedoak commentedNoticed the same weird problem.
Comment #6
okeedoak commentedDuplicate of http://drupal.org/node/311458
Comment #7
harrisben commentedmy template.php (Excluding the majority of commented out sections):
My theme-settings.php (unmodified):
There's the problem! I don't recall the instructions saying I had to edit theme-settings.php too, but it's entirely possible I missed it.
Comment #8
kdebaas commentedGreat! I suppose you now have the theme registry rebuilding options back on your subtheme. But, did this also fix the problem you had with the searchbox?
Comment #9
harrisben commentedI have the theme settings options on my subtheme, but the searchbox problem persists unfortunately.