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

lightsurge’s picture

But 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.

ezra-g’s picture

I'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.

ezra-g’s picture

Seems 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

lightsurge’s picture

I 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.

ezra-g’s picture

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.

I'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.

ezra-g’s picture

Issue tags: +commons-7.x-3.0-beta1

Tagging for Beta1.

ezra-g’s picture

Title: Social sharing links » Configure Social sharing links for default group content types

Share this is added with http://drupalcode.org/project/commons.git/commit/78726b3 - Let's provide some default configuration.

ezra-g’s picture

Issue tags: -commons-7.x-3.0-beta1

Removing tag.

ryanrain’s picture

the 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?

ezra-g’s picture

Assigned: Unassigned » ezra-g
ezra-g’s picture

Assigned: ezra-g » Unassigned
Status: Active » Needs work

I 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.

ezra-g’s picture

Assigned: Unassigned » ezra-g
ezra-g’s picture

Status: Needs work » Fixed
Topcheese’s picture

I don't know if it's correct, but I place it in the links area.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.