How to Configure the AddToAny Drupal Module

AddToAny Social Buttons Drupal Module
Drupal AddToAny Buttons example

Browser and Drupal social media plugins help visitors share your content among their online networks. The AddToAny Drupal module adds a small group of buttons at the bottom of your pages. This is common among a lot of popular blogs and they’re small enough to have no negative impact on user experience (UX).

This makes it easier for visitors to share links on over 50 social services including:

  • Email
  • Line and other SMS and mobile text messaging apps
  • Popular social media platforms like Twitter
  • Buffer social media manager
  • Trello kanban
  • And many more

Below we’ll cover how to:

If you need an optimized solution for your Drupal site, check out our Drupal VPS Hosting.

Install the AddToAny Share Buttons Module

Follow the steps below to install the Drupal social media module from your admin dashboard.

  1. Log into Drupal.
  2. Install the Drupal module using the AddToAny Share Buttons download link for your Drupal version.
  3. On the next page, select Enable newly added modules.
  4. Under Other, check the box for AddToAny.
  5. At the bottom, select Install.

Configure the AddToAny Drupal Module

AddToAny social media buttons are set to display in comments and content types by default. You can check a published article to see the results of your changes below.

To change where AddToAny shows, select Structure, Content types, the drop-down menu for a content type, and Manage display.

Default AddToAny Drupal Module configuration
  1. At the top of your navigation menu, select Configuration
  2. Under Web Services, select AddToAny.
  3. At the top, edit the icon pixel size.
  4. Customize the share buttons shown by default with the full list at AddToAny.com/services including WeChat, Mastodon, and many more. Click on a service link for the class code.
  5. The universal button shows a pop-up with the other available social media services. You can customize or remove it.
  6. Additional Options is where you add any custom JavaScript and CSS for the buttons. For example, you can add share counts or change the language.
  7. Configure where you want to add AddToAny buttons in the Entities section.
  8. Select Save configuration once you’re done.

Learn more from our Drupal Education Channel.

J
Jacqueem Technical Writer

Technical writer focused on cybersecurity and musicianship.

More Articles by Jacqueem

Was this article helpful? Let us know!