Closed (fixed)
Project:
Printer, email and PDF versions
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2006 at 15:50 UTC
Updated:
23 Aug 2007 at 22:55 UTC
Internal links would appear underlined and trailed by [0], but no URLs would be listed at the bottom of the page. This patch fixes that and also uses Drupal's url() to form absolute URLs.
| Comment | File | Size | Author |
|---|---|---|---|
| print-internal-urls.patch | 396 bytes | njivy |
Comments
Comment #1
mattgrayson commentedPatch fixes issues described and works perfectly on 4.7 RC3.
Comment #2
robert castelo commentedTested this out and can confirm it works.
Thanks njivy!
Comment #3
dz-1 commentedI had this same issue whereby my internal links to items like 'node/1234' would not be listed at the bottom in the 'links' section.
I applied the patch above and it worked out great!
Comment #4
grendzy commentedThank you for this patch! I just applied it to the 2006-Nov-13 release, and it worked great. I look forward to seeing this patch committed...
Comment #5
drumax commentedI had the same problem. With this patch it works better, but the Links look like this:
Links:
[1] http://www.mydomain.ch/?q=%3Fq%3Dmycontent
I found out that "?q=" and "%3Fq%3D" is the same, but somehow encoded. How can I solve this?
My drupal 4.7 is not in a subdirectory.
Comment #6
srlinuxx commentedDoes this work for 5.1? If not, how would it differ?
thanks so much.
Comment #7
mercmobily commentedHi,
I can confirm the problem. Is this module actually being maintained?
Merc.
Comment #8
mercmobily commentedHi,
I gather the answer is "no"...
We ended up writing our own "print preview" module!
Merc.
Comment #9
jcnventuraThanks for giving me pointers in the right direction.
The solution was slightly more complicated, as sometimes internal URLs do not start with / (sometimes they even start with #) but it is now solved in HEAD.