PDFview ignores site theme

fm - January 31, 2007 - 18:12
Project:Pdfview
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs review
Description

First, thank you for authoring this module. This is a great feature to offer visitors.

It seems to be working wonderfully, except for a few issues. For instance, the topic of this thread -- ignoring the site's theme. A PDF of a given node should display the same information that is presented on the php page shown to the visitor. The PDFview module appears to print much more information that is otherwise hidden from the visitors, including node author, location information, and gmap code.

It would be fantastic if the module automatically presented the only the correct information. But if it can't be done automatically, it would be great to have some instructions on how to theme the PDF output so that it conforms to the needs of the site.

#1

arcX - January 19, 2008 - 16:11
Version:4.7.x-1.1» 5.x-1.0
Status:active» needs review

Hi,

I have uploaded a patch... It uses the same function that phptemplate call to check the toggle status, from the theme admin page, for whether to print the Author and date.

arcX

AttachmentSize
114683.patch 789 bytes
 
 

Drupal is a registered trademark of Dries Buytaert.