Search code examples
typo3typo3-8.xtx-news

ext:news with rx_shariff - mail link not working


TYPO3 v8.7.15, News 7.0.4 and rx_shariff 11.0.2

I've enabled three services that can be used to share my news detail pages (FB, Twitter & Mail).

This is my partial(Shariff.html):

<html xmlns:rx="http://typo3.org/ns/Reelworx/RxShariff/ViewHelper">
<rx:shariff data="{url: 'http://example.com/'}" services="facebook,twitter,mail" enableBackend="true" />
</html>

Both the FB and Twitter share buttons work fine, however when I test the Mail button I'm sent to

http://example.com/?view=mail

I've checked the documentation for both News and rx_shariff but can't see anything obvious.

Any help would be appreciated.


Solution

  • Try this :

    <rx:shariff data="{url: url, title: newsTitle, mail-subject: 'Your mail subject', mail-body: 'The mail body', mail-url: 'mailto:{settings.shariff.mailto}'}" services="facebook,twitter,googleplus,mail" enableBackend="true" />