Hey,

I added some templating to allow users to create node-ID-specific templates. Diff attached.

New templates:

  • node-$type-$nid.tpl.php
  • print_node_$format.node-$type-$nid.tpl.php

File: print.module
Function: print_preprocess_print_node()

PS. Wonderful work, keep it up! =)

CommentFileSizeAuthor
#1 print.module2.diff883 bytesSleavely
print.module.diff860 bytesSleavely

Comments

Sleavely’s picture

StatusFileSize
new883 bytes

Woops. Realized that I should probably modify print_preprocess_print_page() as well.

Note: This is a complement of the previous patch, so you will still need my first one. Sorry bout that.

New templates:

  • print.node-$type-$nid
  • print_$format.node-$type-$nid
jcnventura’s picture

Status: Patch (to be ported) » Needs review
jcnventura’s picture

Status: Needs review » Closed (duplicate)