The share link appears at the bottom of the node body, whereas it would be much more logical to place it in the page footer (I may be misusing Drupal terminology here) but to see what I mean, the share link should be adjacent to the links for "printer friendly", "Flag content" etc. As it stands the share link can end up in the body of the text above attachments or pictures.
I'm sure this can be themed out, but I think the default behaviour should mirror the "flag content" modules and "printer friendly" modules.
Thanks, Stephen
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | share_links_hack.patch | 1.35 KB | pbarnett |
Comments
Comment #1
pbarnett commentedThe code is adding the share link to $node->content['share_links'] rather than adding it to $node->links. The variable service_links_in_share_links doesn't seem to be set either, which means that share_link isn't returning $links.
The attached is a dreadful hack to fix this for service links, but I'll investigate further...
Pete.
Comment #2
greenskin commentedThe Share link can be listed in with the links via setting in the Service Links settings page. Disable the 'Share service links in nodes' and other options will appear, you can then enable the 'Share service links in links'.