Install

Works with Drupal: 7.x

Using Composer to manage Drupal site dependencies

Downloads

Download easy_social-7.x-2.0-beta1.tar.gztar.gz 11.28 KB
MD5: d9db3e075bb6e23096c2a7859bf24e7d
SHA-1: 1f21a49f88404e0d18813d362cfb971bc1594fa2
SHA-256: 22375d93cdcde000c12a45c10b9da80598ed9fd75305e92c811a3e192060351f
Download easy_social-7.x-2.0-beta1.zipzip 12.58 KB
MD5: 8dd8731fc4d18449268ccaa268c26f8d
SHA-1: 3df0441c9c0645b8f9e4cf954b49815c13732a07
SHA-256: 690321d08988363020938274e99bc43e2291aeaae765b5c625e1b0f617816854

Release notes

Implemented hook_easy_social_widget() to easily allow other modules to define their own widgets.

Example:

function mymodule_easy_social_widgets() {
  return array(
    'my_custom_share_button' => array(
      'name' => 'My Custom Share Button', // apears on admin pages only
      'markup' => '_my_custom_share_button_markup', // callback function that returns widget markup
      'script' => 'http://mycustomshare.com/widget.js', // external javascript include
    ),
  );
}

Items that need work:

  • template
  • allow widgets to define custom variables in admin settings pages
  • make $type into a constant to avoid errors
  • ...
  • you tell me!
Created by: alexweber
Created on: 18 Nov 2011 at 21:16 UTC
Last updated: 2 Aug 2018 at 04:56 UTC
New features
Insecure

Other releases