I don't know if the way print is supposed to work has changed but I have 2 issues after upgrading to 6.x-1.14:
- print links are displayed on the printer-friendly page!
- print doesn't seem to respect CCK print display settings but seems to use the basic ones.
It used to work as expected in 6.x-1.12.
Am I missing something?
For now, I switch back to 6.x-1.12...

CommentFileSizeAuthor
#4 print1.png15.63 KBharry slaughter
#4 print2.png14.53 KBharry slaughter

Comments

jcnventura’s picture

Status: Active » Postponed (maintainer needs more info)

I can't reproduce this. Can you please try the latest dev?

anrikun’s picture

Sorry for this late response: was on holidays!
I will try the latest dev as suggested and let you know.

harry slaughter’s picture

I see this behavior as well.

I have a nodetype with certain fields configured never to display, yet they still show up in the printer-friendly page.

print module version: 6.x-1.12

harry slaughter’s picture

StatusFileSize
new14.53 KB
new15.63 KB
harry slaughter’s picture

Was able to reproduce this problem in 6x1xdev

harry slaughter’s picture

Just a note.

Out of curiosity, I changed line 508 of print.pages.inc:


  // $node->build_mode = NODE_BUILD_PRINT;
  $node->build_mode = NODE_BUILD_NORMAL;

After doing this, the hidden fields were not present in the print view.

jcnventura’s picture

@Harry Slaughter: this is because you're using it wrong... There's a "Print" build mode that will use different settings from the normal view.. The change you did undid that setting, which is not the desired behavior.

harry slaughter’s picture

Hi JC,

I'm not suggesting that changing the build mode is a fix, simply that changing it makes hidden CCK fields hidden in the PF view. I would find this useful for debugging the issue.

I'm going to be looking for a fix for this today. I'll post back if I end up finding a solution that is useful to others (rather than a hack).

harry slaughter’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

My bad. I never realized CCK let you show/exclude fields by build_mode, but it does.

Go to 'admin/content/node-type/NODETYPE/display/print' and simply turn off fields you do not want to show on your PF page.

anrikun’s picture

I've just tried the latest dev and it seems to work now.