Hi,

I'm using D6 with the print module and have so far been unable to get the side content to appear on the print-friendly page as advertised.

Checking the "Print view include" option, [which says: "Show content in print view (requires Print Friendly Pages module)."] in the block's configuration page does nothing - going to the print version of a page with side content shows only the normal content, not the relevant side content.

Comments

jim kirkpatrick’s picture

Status: Active » Needs review

Ok, after some digging I worked out that there's an error on line 246 whereby the wrong argument is checked:
if (arg(2) == 'print' && !empty($node->sidecontent)) {
That arg(2) should be arg(0):
if (arg(0) == 'print' && !empty($node->sidecontent)) {
Once the above is changed the print page shows the side content correctly.

robert castelo’s picture

Status: Needs review » Fixed

Thanks for spotting that.

Fixed in 6.x-2.0-RC1

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.