Drupal 7 - Print Module - Choose content to print
-
24-06-2021 - |
Question
I am using the Print module in my Drupal 7 site (www.kooknet.be). How can I choose which fields are printed in my custom content type? I already added the "print-page" class to several HTML tags, but I can't get it to work.
Thanks.
Solution
If you have the Print module installed, you can set which fields are displayed for the 'print' view mode easily from the admin interface!
- Go to the 'Manage Display' screen for your content type: /admin/structure/types/manage//display
- Once you enable the Print module, you should start seeing a 'Print' display option in the collapsed list of display options available
- Check that display option (and any others that are relevant to your content type) and hit 'Save'
- Now you'll see that that display option is added and you can add or hide fields from it as you please!
:-)
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow