Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Using printer friendly views of books is annoying when the addtoany button is displayed in each section.
Modifying addtoany_node_view function to wrap all the code in an
if ($view_mode != 'print') {}
block prevents this. However this should be an option configuration similar to the 'addtoany_display_in_teasers' option.
Comments
Comment #1
micropat CreditAttribution: micropat commentedThanks for the request!