Social Sharing Codes for Siberian CMS

Note: This codes now not working in latest Siberian.... 

You can use Share App module as alternative solution.

You can share text, link, image using this social sharing code. It's works only in Custom Page Feature.

Go to Features >> Custom Page >> Add Text Section  >> Click on Source Button

Here are some examples you can copy-paste and edit as you want.

Share Text Only:



<button onclick="window.plugins.socialsharing.share('YOUR TEXT HERE')">Click to Share</button>


Share Link Only:


<button onclick="window.plugins.socialsharing.share(null, null, null, 'http://www.google.com')">Click to Share</button>


Share Text & Link:


<button onclick="window.plugins.socialsharing.share('YOUR TEXT HERE', null, null, 'http://www.google.com')">Click to Share</button>


Share Image Only:


<button onclick="window.plugins.socialsharing.share(null, null, 'https://www.google.co.in/images/branding/googlelogo/2x/googlelogo_color_120x44dp.png', null)">Click to Share</button>


Share Text & Image:



<button onclick="window.plugins.socialsharing.share('YOUR TEXT HERE', null, 'https://www.google.co.in/images/branding/googlelogo/2x/googlelogo_color_120x44dp.png', null)">Click to Share</button>


Share Text, Link & Image:



<button onclick="window.plugins.socialsharing.share('YOUR TEXT HERE', null, 'https://www.google.co.in/images/branding/googlelogo/2x/googlelogo_color_120x44dp.png', 'http://www.google.com')">Click to Share</button>