There are certain elements in a page I don’t want to display in the printer-friendly pages. For example, the user-submitted image thumbnails and videos from CCK FileField. How can I exclude those two elements from showing in the printer-friendly pages? Thank you very much.

Comments

jcnventura’s picture

Status: Active » Fixed

Are you really using 6.x-1.5? If so, please upgrade to the latest version, as I don't remember the version in which the following became applicable.

Go to the Content Types -> Manage Fields settings, and exclude any elements you want from the 'Print' display.

João

mariner702’s picture

Yes, but I have Drupal 6.5 and the later versions don’t work with 6.5.

jcnventura’s picture

Then you have to copy the hook_content_build_modes() function from a recent version of the module and insert it in your version, then run update.php to make sure that the new hook is recognized by Drupal.

Or just get the latest versions and comment out the calls to drupal_final_markup(). Either way, you should probably upgrade to the newest version of Drupal...

Status: Fixed » Closed (fixed)

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

kenorb’s picture