Forum Discussion

gitika's avatar
gitika
Guide
11 years ago

Include individual Social Media Sharing Buttons

I am new to Lithium, and looking for a precodure to add social media sharing buttons , such as facebook Like, Google+, Twitter in blog postings on Lithium in a step by step manner, also displaying the number of likes and shares along with the symbols.

7 Replies

  • gitika - To add the share buttons, you need to use the following widget to the Forum Message page

     

    <@component id="external.widget.add-this"/>

     

    the URL to reach the forum message quilt in studi is 

     

    /t5/bizapps/bizappspage/tab/community%3Astudio%3Apage-editor?page=ForumMessage

     

    go to XML and add <@component id="external.widget.add-this"/>

     

    In case you want to show the numbers also along with the fb, twitter icons, you'd need to ask Lithium professional services.

     

  • gitika's avatar
    gitika
    Guide
    11 years ago
    Thank you Alok. So basically there's no way I can myself add 'individual' FB, Twitter, linkedin sharing buttons with numbers on Studio? The code you gave is for the single 'share' button with all the social media options. Right?
  • Right, but it's not that you can't add external custom buttons, they can be added but if you have the entire custom widget. We have done so in one of our community but that is currently on stage.
  • @gitika, in fact you can do this by using the custom plugins, if you need more info, i can share the code for this.
  • gitika's avatar
    gitika
    Guide
    11 years ago
    Thanks a lot Alok for answering my concern. It would be great if you could share the code for that, as I am clueless about how to go about it. Thanks again!!
  • PaoloT's avatar
    PaoloT
    Lithium Alumni (Retired)
    11 years ago

    Hi gitika ,

     

    we offer the Addthis widget as an out of the box feature to integrate social sharing, but it is definitely possible to customize it or even use an entirely different provider (example: ShareThis) by creating custom components. You can either ask someone to share their work here on the developer forum, or in doubt you can always contact Lithium Professional Services to help and scope this out for you.

     

    Kind Regards,

  • mjkb's avatar
    mjkb
    Contributor
    11 years ago

    Need your expertise here.

    external.widget.add-this widget is working fine in iPhone. But it doesn't work in Android (e.g. Samsung S3).

    When I say not working, the Hover-over DIV with add-this options are not appearing.

    Nothing happens when I click on the Share button.