I noticed that when using the printer friendly module, one must put the print.node-type.tpl.php file into the /zen folder; putting it in the subtheme folder doesn't allows the module to see it. Perhaps you could say this is a problem of the print module, but I'm curious if other modules look into the theme directory and no farther. I imagine it's usually ok, and has one or two work arounds. Not sure how to proceed or if anyone else had this problem.

Comments

johnalbin’s picture

Unfortunately, in Drupal 5, sub-theme's are only supposed to have a style.css sheetsheet and no more. We’ve done some tricks to allow sub-themes to have more meat.

The main unresolved issue is Drupal 5’s path_to_theme() function which always returns a path to the base Zen theme. In Drupal 6 that function returns the path to the sub-theme.

Zen provides a replacement for path_to_theme() called path_to_subtheme()

So modules could use something like this:

$path = function_exists('path_to_subtheme') ? path_to_subtheme() : path_to_theme();

I’ll admit that its not a very good solution.

johnalbin’s picture

Status: Active » Closed (won't fix)

I'm marking this “won't fix”. But really this is “can't fix”.

Unless someone else can think of a better solution?