Social Share adds very simple, configurable social network share links to nodes
Drupal 7 version
Links for these social networks are included:
Delicious, Digg, Facebook, Google Plus, Hyves, LinkedIn, MSN Live, Myspace, Orkut, Pinterest, Reddit, StumbleUpon, Twitter, Yahoo
Additionally, it provides a GUI interface to add new network share links, and control the display order of available links. You can select what networks you want available between the Social Share-tab on the content type settings and - if enabled - on the block-settings page.
Links are added to all nodes of the types configured to allow it, and appear with a class name based on the social network being shared to.
Example:
<a class="social-share-facebook" href="...">Facebook</a>
<a class="social-share-twitter" href="...">Twitter</a>
<a class="social-share-googleplus" href="...">Google Plus</a>
etc.
This facilitates styling the links as icons, or whatever best suits the site.
Current Status
As of Sept. 20, 2013
7.x-2.0 is released! The 1.x branch is now EOL, and I will no longer be providing updates for the D6 version (based on usage statistics this should not surprise anyone).
Dependencies
- token (as of 7.x-2.0)
While not a dependency, if the shorten module is installed, urls being shared will first be shortened.
Drupal 8 version
The Drupal 8 version (8.x-2.x) is a completely new version of the module. It provides a social share link plugin type and allows the configuration of the plugins via a block or a field type, which allows editors to select desired social media links.
While extension modules may add additional social share plugins, the module comes with default plugins focusing on the following:
- Ease customization, thus every plugin has a template so the markup can be easily controlled. There are no nice icons out of the box as it is expected for the theme to provide this.
- Simple: Use simple sharing URLs and avoid extra javascript if necessary. The module comes with a quite simple javascript that takes care of opening the sharing URLs in a suiting modal window only.
- Privacy enabled: Plugins do not load external javascript assets.
- Flexible: As every plugin can have its own context parameters, all parameters supported by a social share link provider can be configured.
Dependencies
The Drupal 8 version is mirror to the github repository at https://github.com/drunomics/social_share. We are happy about contributions via pull requests or patches on Github, but please open issues on Drupal.org! Thank you!
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - 797 sites report using this module
- Created by willvincent on , updated
- Drupal 10 is here!
beta8 is d10 compatible
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
Development version: 8.x-2.x-dev updated 22 Dec 2022 at 13:23 UTC