Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing 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!