To put it simply, I have followed the instructions perfectly in the handbook, but when I copy over everything to my own theme, modify the files, and all that other jazz--Drupal 6 does not recognize the sub theme.

I'm not sure if this is a problem with the Zen theme or with Drupal 6, but it is not working and I've tried it at least 10 times.

Maybe someone else can confirm that it is not working, or maybe there is a different step that is required for version 6 of Drupal?

Thanks.

Comments

johnalbin’s picture

The Drupal 6 version of Zen is still in development. So its most likely a problem with the theme and not with Drupal 6.

Also, the current instructions are written for the Drupal 5 version. And need to be rewritten for the Drupal 6 version.

Have you renamed the SUBTHEME.info file and updated the information in it?

johnalbin’s picture

Status: Active » Postponed (maintainer needs more info)
Rowanw’s picture

Title: Followed the instructions to create a subtheme for Drupal 6, but Drupal 6 does not recognize it. » Some sub theme template files aren't recognized
Component: Miscellaneous » Code
Category: support » bug
Priority: Normal » Critical
Status: Postponed (maintainer needs more info) » Active

I have a related issue, although I had no problem enabling the sub theme. The problem is that my page.tpl.php in the sub theme does not seem to be recognized.

I made appropriate changes to startertheme.info (and renamed to mytheme), template.php and theme-settings.php. All these files seem to work correctly, it's just page.tpl.php that doesn't seem to work.

dvessel’s picture

Randomly ran into this page. It could be due to this issue that solves a problem.

Without knowing the structure of your themes, I can't be sure but it sounds related. Basically, templates from sub-themes placed in sub-folders of its base theme will be filtered when the base theme is active. This is by design. Sub-themes inherit the templates set by its parent but it can't go the other way, e.g., base theme reading the sub-themes templates. Again, it depends on folder structure.

Rowanw’s picture

Status: Active » Postponed (maintainer needs more info)

Thanks for the info dvessel.

My issue may have been caused by cached data, if anyone else notices a similar problem go to Site configuration > Performance > Clear cached data.

johnalbin’s picture

Title: Some sub theme template files aren't recognized » Followed the instructions to create a subtheme for Drupal 6, but Drupal 6 does not recognize it.
Category: bug » support

Rowan, I hope your issue is fixed, but you should have opened a separate issue.

James had a support request about getting his entire sub-theme to be recognized by Drupal 6. Your issue was a "critical bug" report about page.tpl.php not being recognized. Definitely, not related. You hijacked James' issue, which is considered bad form in Drupal issue queues.

James, are you still experiencing your issue? Let me know.

JMowery’s picture

Status: Postponed (maintainer needs more info) » Fixed

John, thanks. The issue has been fixed. It actually had to do with the theme's .info file not being set. After reading up on Drupal 6, I managed to figure it out.

I have a few other minor issues with the theme, but I think I can get them worked out.

Again, thanks for the help.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.