Issue Bug Closed

#99051MenuProcessor - FLUID - Link to external URL - url-type: email

Christian Hackl 11/10/22, 14:16 updated 06/07/24, 09:27

Description

If you use the TypoScript Menuprocessor and have a Page-type “Link to external URL” and set the field “url” to “mailto:info@domain.tld” then the output array of the menuprocessor generates “link” as char “#”.
But the part for the data-attribue (data-mailto-token) for email links is missing, and i can’t easily use the f:link.email ViewHelper cause i don’t know if it is a mail link or not.
So i have to create a own ViewHelper to check if {item.data.url} is type of mail, this is very unpleasant.

So please add a arrayKey (e.g. mailtoToken) for Menuprocessor if it is a mail-address or at least add an info that it is a mail address so that you can call the f.link.mail ViewHelper yourself…

Thank you.

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.