Easily add share buttons to your nodes!
Centered in a single place, you don't need to worry in including external javascript libraries, and enabling several social modules.
Despite a bunch of other social modules, this module fits exactly if you want simple share buttons without worrying about messy configurations.
Easy Social is available both as blocks, attached to nodes, comments and also as a Views field.
The following widgets are included by default:
- Google+
Extend!
Modules can also implement hook_easy_social_widget() to define new widget types:
Example
function mymodule_easy_social_widget() {
return array(
'my_custom_share_button' => array(
'name' => 'My Custom Share Button', // apears on admin pages only
'markup' => '_mymodule_custom_share_button_markup', // callback function that returns widget markup
'scripts' => array(
array(
'path' => 'http://mycustomshare.com/widget.js', // javascript include,
'type' => 'external', // 'external', 'module' or 'inline', defaults to 'external'
),
),
'styles' => array(
array(
'path' => drupal_get_path('module', 'easy_social') . '/css/easy_social_twitter.css', // css include - specify full path
'type' => 'external', // 'external', 'module' or 'inline', defaults to 'external'
),
),
),
);
}For a full description of the API with working examples, check out the documentation.
Drupal 7 Version
Easy Social for Drupal 7 depends on the Variable module. We declare our variables.
Drupal 6 Version
The Drupal 6 version is being supported exclusively for bugfixes but no new features will be included. All further improvements and enhancements will focus exclusively on the Drupal 7 version.
Sponsorship
This module is sponsored and developed by Webdrop and Drop Themes.
Downloads
Recommended releases
Development releases
Project Information
- Maintenance status: Actively maintained
- Development status: Under active development
- Module categories: Third-party Integration, Utility
- Reported installs: 2373 sites currently report using this module. View usage statistics.
- Downloads: 6,705
- Last modified: May 11, 2012

