Maybe someone can help in solving this little mystery.

I frequently use the print.tpl.php file to tweak my print output. However, today I noticed something strange and I hope someone can solve this little problem for me.

In drupal 5, according to http://drupal.org/node/306886, the per-content-type tpl.php files look like this:
-print.node-[type].tpl.php in the theme directory
-print.node-[type].tpl.php in the module directory

In my experience this is only guilty for Drupal 6, in Drupal 5 the above does not work but instead:

-print.type.tpl.php

Can anyone help me with this ?

Comments

jcnventura’s picture

Version: 6.x-1.0-rc3 » 5.x-4.0
Status: Active » Postponed (maintainer needs more info)

Well, since no one replied...

What you say above used to be true, but not for the current versions of the 5.x module. The code is now mostly unified, and while support for "print.[type].tpl.php" is still there in the 5.x module, it is no longer supported in newer versions, while the "print.node-[type].tpl.php" is supported in all of them.

João Ventura

jcnventura’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Two weeks passed without further info. Closing the issue.