Hi,
I am the 'print' module maintainer, and I am currently trying to fix an issue (http://drupal.org/node/195397) which I have traced to the book module.. What happens there is that it is calling node_invoke_nodeapi($node, 'print');
.
I can solve it in my module by making it call that function with type 'view' instead of 'print', but that doesn't fix the normal book 'Printer-friendly' link. I see two ways of fixing it for everyone:
1. Changing the book module call (may break other content types)
2. Changing the CCK nodeapi calls
Since I think that option 2 is the best, I am attaching a patch to fix this.
The following issues for the cck module are duplicates of this one:
http://drupal.org/node/174026
http://drupal.org/node/126578
http://drupal.org/node/83308
Comment | File | Size | Author |
---|---|---|---|
#1 | cck_print.patch | 824 bytes | jcnventura |
Comments
Comment #1
jcnventura CreditAttribution: jcnventura commentedThe attachment got lost...
Comment #2
jcnventura CreditAttribution: jcnventura commentedBumping the issue to the latest version, as nothing seems to be done about this..
Comment #3
jcnventura CreditAttribution: jcnventura commentedBumping it and putting it RTBC to see if this is merged (eventually before the end of Drupal 5 support).
The patch is trivial and adds support to an unsupported hook_nodeapi operation in Drupal 5.
João
Comment #4
yched CreditAttribution: yched commentedBumping for my own tracking.
Comment #5
KarenS CreditAttribution: KarenS commentedGetting a new release out so I slipped this in since it is a no-brainer.