The ShareThis module enables automatic inserting of Social Bookmarks on Silverstripe sites. By default it comes packed with support for 10 of the most well know services including Digg and del.icio.us. Perfect addition to your blog or News installation!
This module was created as part of the Google Summer of Code 07 program. ShareThis was created and maintained by Lakshan Perera.
- Rename the extracted directory to "sharethis" and place in the root of your silverstripe installation.
- Run /db/build/
- Configure the module for your preference by editing _config.php (you could select the icons you want to appear)
- Add the variable '$ShareThis' to the position you want to display the icons in your page template. (This step is REQUIRED to display the icons)
- Enable the ShareThis icons for each page via the CMS (to enable Go to Behaviour Tab and select the ShareThis checkbox)
Options you can enable in the _config.php file via method calls -
ShareIcons::$EnabledIcons = array()
The icons/services you will to enable for the module.
:::php /* Will Show Digg this and Googlize this post buttons */ ShareIcons::$EnabledIcons = array('digg','google');
ShareIcons::$IconTransparent = boolean
Do you want the icons for each of these services transparent? Then set this to true.