Closed (duplicate)
Project:
Printer, email and PDF versions
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
1 Jan 2007 at 23:09 UTC
Updated:
15 Feb 2007 at 22:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
ByteEnable commentedFix patch file per Drupal patch rules.
Comment #2
ByteEnable commentedOne more try on the patch file.
Byte
Comment #3
ByteEnable commentedThe patch still needs work, it doesn't work with clean URL's.
Comment #4
ByteEnable commentedThis patch should work with/without clean-urls and/or path aliasiing.
Byte
Comment #5
nedjoThanks for taking on the work of updating.
Could you explain the menu changes you've made? Why the custom handling of arguments? Why doesn't
arg()work here? What has changed in Drupal 5 that necessitates this change? The old version looks like it should still work fine.The 'admin/content/print' menu item should be in $may_cache, not !$may_cache.
Indenting should be done with double spaces rather than tabs.
Comment #6
ByteEnable commentedThe old version didn't work with pathauto, clean url's and drupal 5. The arg(0) function only returns part of the path, arg() returns null. I guess you could use a while loop to build up the query thats contained in $_get['q'].
Yeah the cache thingy, forgot. I had it not cached for testing if I remember correctly. I have been working on some non-Drupal code, so my brain functions like a FIFO :).
Comment #7
genemcc commentedTracking
Comment #8
spooky69 commentedAs above.
Comment #9
flanderz commentedping
Comment #10
hunmonk commenteddang folks, why are we doing double work here??
http://drupal.org/node/88162 -- this patch has been in the queue for nearly four months, and i've been using that update on a drupal 5 site for quite awhile now, with no issues!
let's mark one of these a duplicate...
Comment #11
yngens commentedpatch6 works with 2 problems for which I have found my solutions:
1. logo does not show - since I don't know correct sinI sintaxis I just put in print.node.tpl.php file actual URL to my logo
2. text shows without any break lines - in the same file I changed
print $node->body;toprint nl2br($node->body);I hope this helps somebody.
Comment #12
yngens commentedthe same problems applies to http://drupal.org/node/88162
Comment #13
mariagwyn commentedCan this be put into the HEAD so it can be downloaded as a 5.0 module?
Thanks,
Maria
(also commented on http://drupal.org/node/88162)
Comment #14
drewish commentedyeah, this is totally a duplication: http://drupal.org/node/88162