Closed (fixed)
Project:
Printer, email and PDF versions
Version:
5.x-3.0
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Nov 2007 at 13:34 UTC
Updated:
16 Dec 2007 at 18:41 UTC
CCK based nodes are printed without fields. this troubles many users, like me.
Comments
Comment #1
jcnventuraIndeed it would, but I find it hard that this is now happening. It seems to be a duplicate of http://drupal.org/node/169629 or of http://drupal.org/node/71391.
What type of nodes are we speaking about, exactly? Book nodes or page nodes?
Thanks,
João
Comment #2
Stealth AIDS commentedThat's about CCK pages included in books.
That's may be a bug. CCK nodes are printing correctly until I include them into book. Since book navigation appears, "book" and "printer-friendly" show only title and text, without fields.
Comment #3
Stealth AIDS commentedThank you. My trouble looks like http://drupal.org/node/71391
Comment #4
jcnventuraSorry to tell you, but I really can't do any more..
The print module is now assuming control of the book PF link, but I still use the book module's export to HTML features. These will have to be fixed in that module. When it works with the print module 'take control of book PF links' disabled, it will also work with it enabled.
I am moving this issue to the appropriate place (Drupal project -> book.module)
João
Comment #5
jcnventuraActually, can you try replacing the book_node_visitor_html_pre for the following in drupal/modules/book/book.module ?
Comment #6
Stealth AIDS commentedsorry for flooding. I got troubles with posting in Opera 9.
Comment #7
Stealth AIDS commentedCCK fields are visible
Comment #8
Stealth AIDS commentedSince i replaced that code, behevior approached to expected.
Per-page links, like "prew. title" "up" and "next title" are left in print version too. This is bad, i think, but no so much, as it was before.
Shall I rememeber this like a hack, or this will be included in future versions somehow?
Comment #9
jcnventuraI will include the fix for this in the print module soon.
Once the fix there works, it might become part of Drupal 5.4.. We'll come back to this. In the mean-time, I am moving it to the print module again.
João
Comment #10
Stealth AIDS commentedThank you again!
Comment #11
jcnventuraHello,
Can you try the latest dev release in your pages? The function to render the CCK pages should now be working OK. You can revert your book module to the original version, since the book module is working perfectly. The problem is actually in the CCK module, which doesn't correctly handle the 'print' nodeapi call.
Please wait a couple of hours if the dev release is still dated Nov-22.
Joao
Comment #12
(not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.