Closed Hativ closed 5 years ago
Thanks. Its not really "dirty" But you could create the link-tag using its viewHelper {f:link.action()}
instead of {f:uri.action()}
which only generates the uri.
But you are right that this should be the default for the html templates.
Hi, I just changed this again in my local template, because the links in the html-Mail are not visible, if they don't have a Linktext. (TYPO3 8.7.23) This works for me: `
{f:translate(key:'mail.info.editLinkText')} {f:uri.action(action: 'edit', arguments: {hash: hash}, controller: 'Address', extensionName: 'registeraddress', pluginName: 'registerform', noCacheHash: 1, pageUid: settings.pagewithform, absolute: 1) -> f:link.action(action: 'edit', arguments: {hash: hash}, controller: 'Address', extensionName: 'registeraddress', pluginName: 'registerform', noCacheHash: 1, pageUid: settings.pagewithform, absolute: 1) -> f:format.htmlentitiesDecode()}
{f:translate(key:'mail.info.deleteLinkText')} {f:uri.action(action: 'delete', arguments: {hash: hash}, controller: 'Address', extensionName: 'registeraddress', pluginName: 'registerform', noCacheHash: 1, pageUid: settings.pagewithform, absolute: 1) -> f:format.htmlentitiesDecode() -> f:link.action(action: 'delete', arguments: {hash: hash}, controller: 'Address', extensionName: 'registeraddress', pluginName: 'registerform', noCacheHash: 1, pageUid: settings.pagewithform, absolute: 1) -> f:format.htmlentitiesDecode()}
`
The links in the templates
are not clickable (at least in Thunderbird).
I fixed this the dirty way (here for MailNewsletterUnsubscribe.html):
But I think there is a better way with fluid and the fix should be included in the extension.