would be great to also have a "Share button" for "Linked in".
Same as we currently have for FB, Twitter and G+ at "Share this page" in the sidebar and at user-profiles.
<xen:if is="{$xenOptions.facebookLike}">
<div class="facebookLike shareControl">
<xen:container var="$facebookSdk">1</xen:container>
<fb:like href="{xen:link canonical:threads, $news}" layout="button_count" action="{$xenOptions.facebookLikeAction}" font="trebuchet ms" colorscheme="@fbColorScheme"></fb:like>
</div>
</xen:if>
<xen:include template="share_page_linkedin" />
<xen:include template="share_page_linkedin" />
Good testing!When trying to install xml, I get this error: Please enter a valid callback method.
I can only replicate this if I haven't uploaded the files. Make sure you've uploaded the LinkedInShare folder to your Library folder.When trying to install xml, I get this error: Please enter a valid callback method.
Yeah, all add ons need to be uploaded to the library folder.I did. The path is showing it going to the xf root. Does it need to go under library?
Good point.Actually, it is sharing the recent news block as a whole, not the individual post.
<xen:include template="share_page_linkedin" />
<xen:if is="{$xenOptions.LinkedinEnable}">
<div class="linkedinShare shareControl" style="margin-right: 30px;">
<xen:require js="//platform.linkedin.com/in.js" />
<script type="IN/Share" data-url="{xen:link canonical:threads, $news}" data-counter="right"></script>
</div>
</xen:if>
would be great to also have a "Share button" for "Linked in".
Same as we currently have for FB, Twitter and G+ at "Share this page" in the sidebar and at user-profiles.
I agree. As many sites are business focused, this would be a great thing to add. Is there a way to do this manually until a proper integration is done?
Is anyone taking this on? I would love to have it, but don't know how to do it.
We use essential cookies to make this site work, and optional cookies to enhance your experience.