Active
Project:
Comment block
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
30 Nov 2009 at 05:02 UTC
Updated:
1 Dec 2009 at 05:12 UTC
The print (print, pdf, e-mail friendly links) module doesn't include blocks by default, but does allow custom templates for inclusion of such blocks for a given content /output type. However, when that block is added via code:
print theme('blocks', 'content');
(my comments are set to display in the 'content' block), the comments do not show. I suspect this is because the URL has changed from:
http://foo.bar.net/xyz/node/583
http://foo.bar.net/xyz/print/583 -or- http://foo.bar.net/xyz/printpdf/583
I still have variables such as $node->nid in the print template, so does your module provide some sort of function I can pass the nid to to print the comment display?
Comments
Comment #1
obrienmd commentedHave been hacking away at this for the last 24 hours, with no luck. I'm going to poke around the print module's issue queue to see if I can find anything similar.