Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

Social bookmarking


Go to End


6 Posts   2524 Views

Avatar
Markus

Google Summer of Code Hacker, 152 Posts

10 July 2007 at 8:05pm

Hi!

Maybe it would be a good idea to implement also something like http://www.social-bookmark-script.com/ for SilverStripe!?

Just an idea :-)

Avatar
laktek

Google Summer of Code Hacker, 76 Posts

10 July 2007 at 10:10pm

Edited: 10/07/2007 10:11pm

Yeah Markus, it's one of the story cards assigned to me with the mashup module :) I'm Currently working on it. Hope to release it for test by end of next week.

BTW, thanks for the link

Avatar
laktek

Google Summer of Code Hacker, 76 Posts

9 August 2007 at 1:10am

Here is a preview release of the ShareThis module, which enables automatically adding social bookmarking icons on SilverStripe sites.

If you like to test the module download the attached file and extract it into your SS main directory and follow the instructions in README.

Please send in your suggestions and bugs.

Avatar
laktek

Google Summer of Code Hacker, 76 Posts

9 August 2007 at 1:12am

Edited: 09/08/2007 1:14am

Sorry seems like I cannot attach the zip file here...

I'll add the module to SVN tomorrow with the help of Matt.

Avatar
elijahlofgren

Google Summer of Code Hacker, 222 Posts

10 August 2007 at 7:36am

Hi laktek,

I just tried out sharethis and it looks really nice. Great job! :)

There are two little issues I found:

1. From http://svn.silverstripe.com/open/modules/sharethis/trunk/README

4. Add the $ShareThis variable in your templates where you like to have the icons appear.

4. You could enable the ShareThis icons for each page via the CMS (to enable Go to Behaviour Tab and select the ShareThis checkbox) 

I read this and thought that putting "$ShareThis" in the page was optional, however, I checked the "Show Share Icons in this page ?" checkbox, but the icons did not show up on the page until I added the $ShareThis variable to my template. Is this how it is supposed to work?

2. Also, the code comment in _config.php seems to be incomplete:

ShareIcons::$IconTransparent = true; //remove this if you want to make

Cheers,

Elijah

Avatar
laktek

Google Summer of Code Hacker, 76 Posts

12 August 2007 at 1:16pm

Elijah,

Thanks for your comments.
1. Actually you will require to have $ShareThis variable in templates to display the icons. Checkbox in the CMS only allows you to on/off them pagewise.

2. Edited the comment.

Let me know if there is any other issues in the module.

(P.S. - For future discussions about ShareThis module use this thread - http://www.silverstripe.com/modules-discussion/flat/3719)