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.
Per the interactive design comp though the specific styling there will be done as part of the Commons Origins theme.
Potentially related to #1558176: Login/signup to Commons site with Google/Facebook account.
A likely candidate for this feature is http://drupal.org/project/service_links.
Comments
Comment #1
lightsurge CreditAttribution: lightsurge commentedBut this won't give you the share 'counts' that you can see in the interactive prototype?
I jumped from module to module for a share link solution recently. I wanted to minimise cookies and third party javascript. That dismissed a lot of the popular ones.
Personally I settled on the simplest, using the tweetbutton and fblikebutton but there is also the socialmedia module which seems to do about the same thing (i.e. embeds the share iframes direct, rather than through third party) but is a compilation of lots of different share buttons.
Comment #2
ezra-g CreditAttribution: ezra-g commentedI'm having a lot of success with http://drupal.org/project/sharethis, which actually doesn't require a ShareThis account to work and seems to "just work" out of the box.
Comment #3
ezra-g CreditAttribution: ezra-g commentedSeems like the work here is:
- Export basic config: Late Load the script
- Set some sane defaults on install for the social sharing links (eg, appear on most content types)
- Theme the widget per the interactive prototpyes
Comment #4
lightsurge CreditAttribution: lightsurge commentedI may be wrong but from what I remember sharethis, which I agree works really well, got an external js library that installed cookies from the get-go? If that's the case I'm not saying that's wrong, but to make it compatible with eu cookie law I would've thought you'd have to build a site so at least the user can consent that the site will install cookies by continuing to use it, before those cookies are actually installed.
Comment #5
ezra-g CreditAttribution: ezra-g commentedI'm not sure I follow what you're saying here nor how EU cookie control law would affect site builders. Definitely want to make it easy to comply with EU law, though we can't specifically guarantee any particular legal compliance. Let's continue the conversation on cookie law over at #1788856: Include cookie control to comply with cookie law.
Comment #6
ezra-g CreditAttribution: ezra-g commentedTagging for Beta1.
Comment #7
ezra-g CreditAttribution: ezra-g commentedShare this is added with http://drupalcode.org/project/commons.git/commit/78726b3 - Let's provide some default configuration.
Comment #8
ezra-g CreditAttribution: ezra-g commentedRemoving tag.
Comment #9
ryanrain CreditAttribution: ryanrain commentedthe prototype shows a small share button below the description of a group on it's homepage, as well as at the bottom of posts and wiki pages.
the sharethis module appears to allow you a quickly and easily configure a single set of widget display settings. if we want to configure multiple, different ways to display sharethis code (eg. in one place we want it to only display the share button, and in another place we want it to display the full list of buttons), then we'll have to put this customization into the theme.
another note: the module lets you choose between 3 Locations: Node content, Block, and Links area. while trying to put the widget in the group description, i tried node content and couldn't see anything, and links area appears in a second box below the group description.
would these config settings live in yet another features module? or is there a simpler way?
Comment #10
ezra-g CreditAttribution: ezra-g commentedComment #11
ezra-g CreditAttribution: ezra-g commentedI started this at http://drupal.org/project/commons_social_sharing but have been unable to test on a fresh install because of max execution time errors, even without enabling the new module.
Unassigning from me for now, but I may pick this up later - If I do, I'll re-assign.
Comment #12
ezra-g CreditAttribution: ezra-g commentedComment #13
ezra-g CreditAttribution: ezra-g commentedI committed and tested on a fresh install.
http://drupalcode.org/project/commons.git/commitdiff/00bbb15?hp=099fa9dd...
Comment #14
Topcheese CreditAttribution: Topcheese commentedI don't know if it's correct, but I place it in the links area.