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
Comment #1
jcnventuraAre 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
Comment #2
mariner702 commentedYes, but I have Drupal 6.5 and the later versions don’t work with 6.5.
Comment #3
jcnventuraThen 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...
Comment #5
kenorb commented#637134: Hidden fields are included in printed output