Sharethis block

Component ID

2895855

Component name

Sharethis block

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

329

Component created

Component changed

Component body

This module integrates the newer sharethis functionality with a Drupal site.

Sharethis inline buttons screenshot

Installation

Download using your method of choice (composer recommended) and enable the module in your site.

Implementation

Drupal 8

Once enabled you can visit the settings form at /admin/config/user-interface/sharethis

Drupal 7

Configuration for the D7 version happens on the block's config form.

Both version

You will need to enter your Property ID and select whether you want the sticky or inline method.
The Property ID is shown in the sharethis interface after you've configured the buttons and selected 'Get the code'. See image below:
Example of sharethis property ID

Once you've configured the module you can place your block where you want. The block visibility settings can be used to determine which pages the sharethis buttons should be shown on.

If showing sticky buttons you can place the block in any region and no markup should be output. A good place for it is in the footer region. If showing the inline buttons then wherever you place the block the buttons will be shown.