To create a printer-friendly version, the 6.x module currently only applies the system CSS files and a user-specified print CSS file.

As for a specific project I want most of my theme styles to be applied as well, I'd rather override the theme CSS than maintain two copies of the same directives.

This patch adds an option to keep the theme CSS when generating a printer-friendly version; by default it's turned off so simply applying this patch won't change the old behavior.

CommentFileSizeAuthor
print.keep_theme_css.patch2.76 KBptaff
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

jcnventura’s picture

Status: Patch (to be ported) » Closed (fixed)
jcnventura’s picture

Status: Closed (fixed) » Needs review
jcnventura’s picture

Status: Needs review » Fixed

Thanks Patrice,

Altough this patch goes against the design principle of the module, and my experience in testing this patch resulted in UGLY output, there are many users out there wanting this, so I've applied it to dev.

I had to swallow my pride when applying this, though..

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

divined’s picture

Version: 6.x-1.14 » 7.x-1.1