Thursday, February 11, 2016

TYPO3 content sharing in Facebook, Twitter and Google+.

Here this extension "typo3_socialshareprivacy" will show an !dea to share page contents in various social media. This extension runs successfully on 6.2 to 7.6.0. The development version was 7.6.0
Output of typo3_socialshareprivacy plugin.
The way i have adopted to do this sharing task can be doable in lower versions of TYPO3 with a little structural modification.
There is no php code logics inside this plugin but some Typoscript setup along with some javascript code. This extensions don't have any dependency or reverse but jQuery Library is needed.
Please update the Facebook application id here in typo3_socialshareprivacy\Resources\Public\jscript\typo3_socialshareprivacy_en.js at the very first line.
# var global_facebook_appid    = 587977977907178;    //Set Your facebook Apps Id


There is a checkbox that will appear in the last TAB of every TYPO3 content with a label "Share in Social Media". Default value is un-checked i.e. if you want this content to be shared in social media please don't forget to check this checkbox.
The output will look like this
We can found this plugin at https://github.com/nirmalyamondal/TYPO3-Extensions/tree/master/typo3_socialshareprivacy
Believe this example will become helpful.

No comments:

Post a Comment