开发者

Drupal print module: controlling layout in PDF files?

Using the print module and tcpdf I'm trying to fix the layout of the PDF files for a specific content type. I'm messing around in the tpl.php file and can't find a way to modify individual fields. There's just the massive $print['content'] variable that contains all of the pag开发者_运维百科e content. So, is there a way to access each field?

Basically I want full control over how fields (their labels, data, etc) are displayed. Currently, they are displayed like inline elements, one after the other. This looks pretty ugly.


When you edit a "View" you will notice a link that says "Theme: Information" it retrieves all suggested tpl's for the whole $output and also for each of the fields.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜