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.
1. Open in new window setting no longer "opens in new window"
2. Printer-friendly URLs list is not checked yet printed output still shows the links.
Comments
Comment #1
jcnventura CreditAttribution: jcnventura commentedHi,
In what browser are you getting 1.
As to 2, this has suffered a change now.. The per-content settings no longer apply to all nodes of this type, but instead work more as default settings for that node type. Which of the "Printer-friendly URLs list" boxes is not checked? The global one, content-specific or node-specific.
João
Comment #2
apmsooner CreditAttribution: apmsooner commentedFirefox but i checked this morning and its popping up. Weird cause i cleared cache and everything yesterday but it still must have just been an issue on my end so mark that one okay. The printer-friendly urls list is showing up with settings checked off globally and per content type so that one is still an issue for me.
Comment #3
OldAccount CreditAttribution: OldAccount commentedI have issue #2 as well, when I try to uncheck the "Printer-friendly URLs" box (on admin/settings/print/common) it says "File C:\web\htdocs/ is not readable by the web server" and doesn't save my changes. However, if I enter something valid (like sites\all\modules\print\css\print.css) in the Custom Stylesheet field, the Printer-friendly URL change will save.
Comment #4
jcnventura CreditAttribution: jcnventura commentedlrobeson: please install 6.x-1.12.. That problem was identified in #883086: Cannot Un-Select Printer-friendly URLs list Option or Change Any Other Attribute Options Under Settings
Comment #5
apmsooner CreditAttribution: apmsooner commentedI'm on 6.x-1.12, printer friendly urls output for me regardless of the settings.
Comment #6
ralphb CreditAttribution: ralphb commentedSame here: No error messages when changing "printer-friendly URLs" settings, but links always show irregardless of actual value.
(In my particular case I'm using the Print button for system pages, more specifically some views.)
Comment #7
NaX CreditAttribution: NaX commentedI just ran into the same problem and fixed it by changing it from
return true;
in_print_url_list_enabled
to use the setting variable.Comment #8
msimanga CreditAttribution: msimanga commentedLooking at the page source I noticed the path to print.css was not complete. Below are two sample paths, one to the user.css and the other to print.css
The first part with /mysite/ is missing the print.css URL.In the print module settings I added the missing folder to the path. Below are what I had before and after in the setting Stylesheet URL:
Before: %t/print.css
After: /mysite/%t/print.css
The path to print.css was correct the print styles worked fine in the print view. Hope this helps someone.
Comment #9
jcnventura CreditAttribution: jcnventura commentedThanks for the patch NaX! I've committed it to git.
@msimanga: I can't reproduce that behaviour.. if you've got your site in a path, the module will add that to the URL.
Comment #10
jcnventura CreditAttribution: jcnventura commented