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?
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
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:
We have also added HTML code component from “Follow Button Inline” tool to enable showing this component on page / footer:
This is how it looks like in Experience Editor in Edit mode:
We have placed “Share Button Floating” widget on the side to gave visitors possibility to share currently visited page on various social media:
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:
You can also check my blog for implementing more social features for Sitecore: https://tothecore.sk/2018/03/29/social-sharing-in-sitecore-9/