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 have my content set up to "Show link" and "Show Printer-friendly URLs list". With the 2.0-beta release the links display properly with my Page and Story content. With the most recent 2.x-dev release they don't appear at all.
Comments
Comment #1
jcnventura CreditAttribution: jcnventura commentedYou have to enable the print_ui module
Comment #2
sah62 CreditAttribution: sah62 commentedThe print_ui module is enabled. The strange thing is that the links are displayed for some content, but not all. Here's one Story where it's working:
http://www.428cobrajet.org/135
and one where it's not:
http://www.428cobrajet.org/8F02R135007
Hmm, I just figured out why the "135" page is working: in admin/config/user-interface/print/ui in the "Show link in system (non-content) pages" area I have "135" added to the set for "Show on only the listed pages". I had originally done that because I was using a view for this page, but I've since changed it to display a Story. Could there be an issue with URL aliases? Both of the URLs above include aliases to nodes.
Comment #3
sah62 CreditAttribution: sah62 commentedNote: I've gone back to running the beta release on my site because I need to have the links working properly. If you look at the pages listed above everything will look fine.
Comment #4
jcnventura CreditAttribution: jcnventura commentedI hadn't focused on the fact that this problem appeared since the last beta..
This means that it's something in this commit: http://drupalcode.org/project/print.git/commitdiff/75f9476516d260edb0f34...
Comment #5
jcnventura CreditAttribution: jcnventura commentedI think I got what the problem is, and I'll revert some of the code in that patch in order to make it work.. However, the problem that the module has is that it can't distinguish between print/135 (for node 135) and print/135 (for alias 135 pointing to node whatever).
Looking at the code, it will start by trying the alias, but having a low numerical alias is not recommended.
Comment #6
sah62 CreditAttribution: sah62 commentedI'm willing to test a patch whenever one is available.
Comment #7
jcnventura CreditAttribution: jcnventura commentedhttp://drupalcode.org/project/print.git/commit/89f2dc0
You should now be able to use the dev version again...
Comment #8
sah62 CreditAttribution: sah62 commentedEverything seems to be working fine with the newest dev release - thanks!