Social Media sharing block I made
|Posted: Thu, 2011-12-29 05:49|
My brother was looking for a way for his wife to share photos from our family gallery 3 site to facebook. I took the example code block made by floridave and stripped it down to a simple block that displays a button for facebook, google+ and twitter. The block is very basic and doesn't have all the options that you get from the social sites developer area, but it works and allows for sharing.
I am a little unclear about how to go about releasing a module to the community so I just made this thread and attached the zip file.
You can enable or disable each and if you go into the view directory you can modify the code for each in the file for the services name:
If there is interest i might work on adding more code or switching the views out for variables where you paste the actual code from each site, but it was simpler for now to hard code the usage i wanted.