Social Share
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
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 8.x-2.0-beta9 | Pre-release | Oct 5, 2024 |