Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
I started with the 4.5.0 version of this module. I've changed how theme_print_link() outputs the image so that it works in 4.6.1 and I changed print.tpl.php for XHTML compliance.
This should now allow Print Friendly Pages to completely work with Drupal 4.6.
Comment | File | Size | Author |
---|---|---|---|
#1 | print.tpl.php | 1.64 KB | Eglish |
print.module | 5.21 KB | Eglish |
Comments
Comment #1
Eglish CreditAttribution: Eglish commentedprint.tpl.php
Comment #2
km CreditAttribution: km commentedThanks a lot!
I will investigate and commit your changes in two weeks (after a vacation).
Comment #3
markus_petrux CreditAttribution: markus_petrux commentedTidy reported a warning related to the site link on the top. The following:
l($base_url,'')
Generates an empty href, which can be fixed link this:
l($base_url,$base_url)
;)
Comment #4
deekayen CreditAttribution: deekayen commentedComitted to CVS for Drupal 4.7 (but not tagged for 4.7 packaging). Needs backport for older versions.
Comment #5
(not verified) CreditAttribution: commented