Closed (cannot reproduce)
Project:
Printer, email and PDF versions
Version:
7.x-2.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
2 Oct 2013 at 15:00 UTC
Updated:
25 Feb 2014 at 23:16 UTC
Jump to comment: Most recent
Comments
Comment #1
jcnventuraHave you cleared caches? And where exactly are you still getting the print/21 link? In a block, or the content links area?
Comment #2
zilla commentedit appears in the path at the actual print page - so whether i click 'printer friendly' or 'as pdf' both will show NID in the URL bar when viewing the printable page - but is that by design? i've configured both to use the alias in config
Comment #3
jcnventuraSo, the link to the print page created by the module is print/alias, but something does a redirect to print/nid?
Not really the fault of the module in that case, but I'm still not sure that's the case. If you confirm the above, the problem is certainly in another part of your server setup. I use the 'Global Redirect' module to ensure that in my case when I go to: $base_url/alias_for_node_21 or $base_url/node/21, I get served the page at $base_url/alias_for_node_21.
However, the Global Redirect module does not catch the print page, so browsing $base_url/print/21 will not be redirected to $base_url/print/alias_for_node_21. If in your case, you're actually redirected from one to the other (even on manual input), you need to find out what's causing that.
Comment #4
zilla commentedthanks - it's honestly not a huge deal at all, particularly since the actual printing is just fine.
the links are pointing to print/NID (visible on mouseover), so it ignores the alias setting in config
Comment #5
jcnventuraHave you cleared caches? And where exactly are you still getting the print/21 link? In a block, or the content links area?
Comment #6
zilla commentedit's appearing in standard node page links when placed in upper corner as well as within a view when placed as field on a view - the mouseover simply shows print/NID instead of title of node...caches are cleared.
Comment #7
jcnventuraThanks for clearing that out.. Unfortunately, as you cleared caches, and you're using the module link building mechanism, I fail to see why it's not respecting the configuration. I'm pretty sure it must either be a bug or something in your config.
Either way, and as it's working for me, I'd need you to debug your site to understand why... The code that should return the print/alias is in the print_ui_insert_link in print_ui/print_ui.module.
Comment #8
jcnventuraNo further info in a long time. Closing the issue.