Created
March 11, 2017 13:08
-
-
Save alrnz/091706d54c512613251bb0317a8a5731 to your computer and use it in GitHub Desktop.
TYPO3 News - use Heise shariff for sharing in News Extension
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{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