[TYPO3-content-rendering] Re: <f:link.tel tel="0049 123 456 7890" />
Gert-jan Dikkescheij
gerry at newred.ch
Tue Aug 11 17:26:31 CEST 2015
cool... it almost works !!!
I just took the email helper and got the verification out, swapped email with phone but there is just a part that is not right:
if (TYPO3_MODE === 'FE') {
list($linkHref, $linkText) = $GLOBALS['TSFE']->cObj->getMailTo($phone, $phone);
} else {
$linkHref = 'tel:' . $phone;
$linkText = $phone;
}
getMailTo writes mailto: in the link, rather than tel: and I don't know how to handle that...
gerry
ps: I hope it does not bother you to look into this, I have it working with <f:link.external and tel: in the uri...
More information about the TYPO3-project-content-rendering
mailing list