0

We are working on SXA 1.7.1 & Sitecore 9.0.2 and need to have social share feature for 5 networking sites like FB,Twitter,G+,linkedIn & Pintreset and looking for kind of interface shown below. Is it possible to have this kind of feature using SXA 1.7.1 OOB?

enter image description here

  • in the earlier release I guess SXA 1.3, it had the AddThis available but there were issues, so It is now not available. – Sitecore Sam Nov 10 '18 at 15:34
  • For www.concentra.com I created a custom Social Share component that generates links that you style. Might be able to achieve this with page list or linked list. – Michael West Nov 10 '18 at 15:48
  • From Sitecore documentation it seems that AddThis is still there is not taken Off do we have issues with this component . See this link doc.sitecore.net/sitecore_experience_accelerator/… – Alivor Tikos Nov 10 '18 at 15:50
  • I guess that's for you to discover. In our case he also needed the component to render a links that are unique to each article. – Michael West Nov 10 '18 at 16:03
  • Welcome @AlivorTikos in great Sitecore Community first of all. Hopefully my answer will help you. – Peter Procházka Nov 10 '18 at 20:55
2

We have used SXA 1.7.1 and its AddThis component together with our AddThis account. No need to implement this if you are using SXA and you need to have similar widget as you have in your question.

In AddThis website Tools, we have configured two website tools:

  • Follow Button Inline
  • Share Button Floating

enter image description here

But you can select only one based on your requirements. Whether to have it inline or floating.

We have placed pubid identification number generated in AddThis to styling options of SXA Addthis component in the footer Partial design therefore we gave visitors possibility to follow our company accounts:

enter image description here

We have also added HTML code component from “Follow Button Inline” tool to enable showing this component on page / footer:

enter image description here

This is how it looks like in Experience Editor in Edit mode:

enter image description here

We have placed “Share Button Floating” widget on the side to gave visitors possibility to share currently visited page on various social media:

enter image description here

For this widget, we didn’t have to do any special settings in SXA as we had AddThis code in footer already so AddThis is placing this widget automatically which was great for our purposes.

In AddThis website dashboard, you can see really nice representation of data:

enter image description here

You can also check my blog for implementing more social features for Sitecore: https://tothecore.sk/2018/03/29/social-sharing-in-sitecore-9/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.