Hi,

I have node type named revue-informations and I need to theme the pdf output. I created a file called

print_pdf.node-revue-informations.tpl.php

which I put in the theme directory, but it seems that it is not recognized. I copied that file to print_pdf.node-story.tpl.php, and it worked fine. So I think the system has a problem when there's a "-" in the node-type name.

Is it possible to fix this issue ?

Many many thanks for such a great module

Comments

jerome72’s picture

Assigned: Unassigned » jerome72
Status: Active » Closed (works as designed)

I just realized that in fact I named my node type revue_informations and the system converted the name to revue-informations. So I thought I had to name my theme file print_pdf.node-revue-informations.tpl.php but this is not the right filename. So I renamed it to print_pdf.node-revue_informations.tpl.php and it works like a charm...