Using $node and $node->content within print_pdf.tpl.php

Created on 5 December 2012, about 12 years ago
Updated 30 December 2023, about 1 year ago

Why does the following code work in node.tpl.php, but not in print_pdf.node.tpl.php?

print_r($node->content['some_group']['#children']);

My node is a pretty complicated CCK-structure with fieldgroups, and the PDF-setup is also highly customised, so this is the easiest way I know to output a completely rendered fieldgroup, mixed with other fields and custom text.

💬 Support request
Status

Closed: cannot reproduce

Version

1.18

Component

Miscellaneous

Created by

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.71.5 2024