More configuration options
| Project: | Printer, e-mail and PDF versions |
| Version: | 4.7.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | duplicate |
Jump to:
Hello,
Thankyou for the excellent printer Friendly Pages, it really gives a good output. One thing I would like to see improved is the setup of the page. Currently, on my installation, I get a logo, Publishing information, the document title, creator information, the conents of the document and then a source URL link.
All of this is fine, except it would be nice to be able to turn these features on or off, and also by node type, so a story might have all turned on, but a page might have them all turned off.
Also, the creator information is good for the initial revision, but once a document has been revised I think the information should relate to the current revision, not the original document creation details.
Finally, it would be nice to be able to reorder the information using the weights system used throughout Drupal. If this is not possible, then making the logo appear next to the document title would save space and make the format look a bit nicer.
Taken to the extreme, then it would be great if it was possible to edit a template page and put place marks onto that page. Then the Print Friendly Pages module would just format the page as per the users layout.
Thanks.

#1
There's a template file in there which you could edit as you say.
I suppose the trick is to be able to avoid having it overwritten when the next version of the module gets released. Maybe there should be a setting to select the template to use?
#2
Hello,
It is a pity you could not have a template page in the settings area, something like a Word template, and you have defined variables that could be placed in the page and then Print Friendly Pages just replaces the variables with the actual content.
<logo><Site Name><node>
The above would generate the logo, followed by the Site Name and then the node contents, while
<Site Name><logo><node>
would place the Site Name before the logo. This way anyone could edit the design of the page without having to mess around with the .tpl file, and it would survive between module updates.
I don't know if you could parse the special tags, then HTML would be formatted as per normal and Print Friendly Pages would fill in the variables as required.
Thanks.
#3
Could we disable the links for some node types? I use the "page" type for content summaries, for example, and do not want print-friendly links there.
The
admin/settings/content-typespage looks attractive. To add to that form, perhaps we would need to use<a href="http://api.drupal.org/api/HEAD/function/hook_form_alter">hook_form_alter()</a>.#4
Here is that link again:
hook_form_alter()
#5
This would mostly be handled by a per-node-type template file. As such it is a duplicate of http://drupal.org/node/105003.
The link-disabling-per-node-type is in the latest 5.x dev release.