Project

General

Profile

Actions

Bug #99051

closed

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

Added by Christian Hackl over 1 year ago. Updated 14 days ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2022-11-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If you use the TypoScript Menuprocessor and have a Page-type "Link to external URL" and set the field "url" to "mailto:" 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.


Files

typoscript.JPG (30.8 KB) typoscript.JPG Christian Hackl, 2022-11-10 14:15
pageSettings.JPG (139 KB) pageSettings.JPG Christian Hackl, 2022-11-10 14:15
f-debug-fluid.JPG (39.2 KB) f-debug-fluid.JPG Christian Hackl, 2022-11-10 14:15
clipboard-202211230916-u7bmj.png (71 KB) clipboard-202211230916-u7bmj.png Georg Ringer, 2022-11-23 08:16
x4.png (32.6 KB) x4.png J. Peter M. Schuler, 2022-11-23 15:11
Actions

Also available in: Atom PDF