- heddn Nicaragua
Drupal 7 is no longer formerly supported. Just cleaning up the issue queue. If this is something that still exists in the modern drupal version, feel free to re-open and provide some notes.
function module_easy_social_widget() {
return array(
'facebook_share' => array(
'name' => 'Facebook Share', // apears on admin pages only
'markup' => '_module_widget_facebook_share_markup', // callback function that returns widget markup
'scripts' => array(
array(
'path' => 'http://static.ak.fbcdn.net/connect.php/js/FB.Share', // javascript include,
'type' => 'external', // 'external', 'module' or 'inline', defaults to 'external'
),
),
),
);
}
function _module_widget_facebook_share_markup($url, $type, $title = NULL, $lang = 'en') {
$markup = <<<FB
<div style='float:right;margin-left:10px;margin-bottom:10px;'>
<a name="fb_share" type="box_count" href="{$url}">Share</a>
</div>
FB;
return $markup;
}
Closed: outdated
2.0
User interface
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Drupal 7 is no longer formerly supported. Just cleaning up the issue queue. If this is something that still exists in the modern drupal version, feel free to re-open and provide some notes.