easy-social.png

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:

  • Twitter
  • Facebook
  • Google+
  • LinkedIn

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

Webdrop

This module is sponsored and developed by Webdrop and Drop Themes.

Downloads

Recommended releases

Version Downloads Date Links
7.x-2.8 tar.gz (22.73 KB) | zip (27.51 KB) 2012-Feb-20 Notes
6.x-1.4 tar.gz (11.07 KB) | zip (13.16 KB) 2011-Nov-20 Notes

Development releases

Version Downloads Date Links
7.x-2.x-dev tar.gz (22.78 KB) | zip (27.55 KB) 2012-Feb-22 Notes
6.x-1.x-dev tar.gz (11.07 KB) | zip (13.17 KB) 2011-Nov-21 Notes

Project Information


Maintainers for Easy Social

  • lnunesbr - 18 commits
    last: 13 weeks ago, first: 42 weeks ago
  • alexweber - 84 commits
    last: 13 weeks ago, first: 31 weeks ago

Issues for Easy Social

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here