Install
Works with Drupal: 7.xUsing dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Downloads
Download tar.gz
23.71 KB
MD5: aa02c28b8703664eb72b59dd25d04326
SHA-1: 34b12d77e5f78809f675d9d08cdae310c85c87d9
SHA-256: 5e35f91e312100444e1b17e648053ad08af6160ff81a2a605458b3e6488ff623
Download zip
29.05 KB
MD5: 4270d6223bb8797a4af0575ea8472765
SHA-1: b0ae3b85ea6442908543b1628fad94d4b4dacb8f
SHA-256: 4e787f9bfc2ac94f95e16e24ec1d0d52d65b37bd0c9853bd43616e26e3a014bf
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!