Skip to content

Instantly share code, notes, and snippets.

@alrnz
Created March 11, 2017 13:08
Show Gist options
  • Save alrnz/091706d54c512613251bb0317a8a5731 to your computer and use it in GitHub Desktop.
Save alrnz/091706d54c512613251bb0317a8a5731 to your computer and use it in GitHub Desktop.
TYPO3 News - use Heise shariff for sharing in News Extension
{namespace n=GeorgRinger\News\ViewHelpers}
{namespace v=FluidTYPO3\Vhs\ViewHelpers}
<v:variable.set name="newsurl" value="{n:link(newsItem:'{newsItem}', settings:'{settings}', uriOnly:1, configuration:'{forceAbsoluteUrl: 1}')}" />
<!-- shariff ext -->
<div class="social-wrap">
<html xmlns:rx="http://typo3.org/ns/Reelworx/RxShariff/ViewHelper">
<rx:shariff data="{url: '{newsurl}'}" services="facebook,whatsapp,twitter,googleplus,mail" enableBackend="false" />
</html>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment