I have created a new theme, and have been prepping it for Drupal 6. There's not much to it, so all I changed was putting in a .info file, and so forth. On my Drupal 6 installation, when using this theme there are many blocks missing, including Login and Navigation. They don't show up in the Blocks configuration page at all.

But when I switch to the Garland theme, they all show back up.

What would make them do this? Do I need to call them somehow? I've looked through the Garland code and don't see anything.

-micah

Comments

osman’s picture

Hey micah,

I'm having the exact same problem and can't figure out what is really wrong here.

on Garland theme, I have the following blocks available:

- Navigation
- Primary Links
- Who's online
- Powered by Drupal
- User login
- Search form
- Secondary links
- Syndicate
- Who's new
- Media Contacts (a custom block I created before)
- Recent blog posts

On my custom theme I don't have Navigation and Primary links blocks.

Any ideas? Thanks,

osman

osman

osman’s picture

I duplicated my custom theme and renamed it to mytheme2. renamed the mytheme.info to mytheme2.info

disabled mytheme and activated mytheme2. Missing blocks were there!?

So was it a caching issue? I cleared the cache so many times, why it didn't effect at all?

Anyways, I hope it would guide someone with a similar problem.

osman
(Drupal 6.3)

osman

zigmoo’s picture

I'm having the exact same problem, too. My theme is a custom theme converted from 5.x and I'm using with 6.3.

The Navigation/Logout menu doesn't show up, except in admin mode.

Based on Osman's experience, I wonder if this is some database issue?

I'm going to try his solution.

Thanks to both of you for posting!

moo

flutedrumr’s picture

I'm having the same issue, and duplicating the theme doesn't solve the issue. I've tried upgrading to 6.4, no help. The only issue in status is "Operations on Unicode strings are emulated on a best-effort basis. Install the PHP mbstring extension for improved Unicode support." which I don't believe would impact this issue. Obviously this isn't affecting a large user base, but it's debilitating for those it is affecting. I'll just hard code everything into the theme for now, but if anyone has ideas for troubleshooting this, it would be appreciated. I've never had this issue before, but it's the first time I'm using this particular server.

lcool’s picture

I was having the same problem - when I enabled my Zen subtheme (nothing complicated in it!), many blocks went missing in the blocks admin. If I switched back to the original Zen theme, they appeared again! I lost the login and navigation blocks, as well as my own created blocks.

Osman's solution worked, though!

I was using: Drupal 6.5, PHP: 5.2.6

Manamarak’s picture

I think this is a zen issue,

I had the exact same problem with my zen-based sub-theme, but the problem went away when I turned off Zen-Classic as my administrator theme.

Submitting to Zen Issues.

jazzslider’s picture

We were having an extremely similar issue on one of our Zen sub-themes, and I've noted our solutions in http://drupal.org/node/351217, since I think we found a very clean solution. Just thought I'd post the link here too in case anyone else needs the info.

Thanks!
Adam