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.
The AddtoAny button appears on the product pages like normal, however, after adding a node-product.tpl.php file inside the theme the A2A button disappears. Is there anything I can put in the php that will add it back into the page with the tpl.php page? Sort of like an area with print $addtoany to call the module?
Comments
Comment #1
RKS CreditAttribution: RKS commentedIt seems the button is included in $links. So printing $links will print the button. But, if you don't want to print your $links, (because there are too many other things in there that I print in other places) what is the php snippet I could use to just embed the button where ever I want? Thanks
Comment #2
micropat CreditAttribution: micropat commented