Feature #86629
closedImplement LinkHandler for telephone numbers
100%
Description
Currently the core supports 6 LinkHandlers:
'page' => \TYPO3\CMS\Core\LinkHandling\PageLinkHandler::class,
'file' => \TYPO3\CMS\Core\LinkHandling\FileLinkHandler::class,
'folder' => \TYPO3\CMS\Core\LinkHandling\FolderLinkHandler::class,
'url' => \TYPO3\CMS\Core\LinkHandling\UrlLinkHandler::class,
'email' => \TYPO3\CMS\Core\LinkHandling\EmailLinkHandler::class,
'record' => \TYPO3\CMS\Core\LinkHandling\RecordLinkHandler::class,
I suggest another LinkHandler for telephone numbers, similar to the email one.
Take a look at this extension for reference: https://github.com/monosize/typo3-ext-linkhandler-plus
Updated by Gerrit Code Review about 6 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58674
Updated by Gerrit Code Review about 6 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58674
Updated by Gerrit Code Review almost 6 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58674
Updated by Gerrit Code Review almost 6 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/58674
Updated by Rune Piper almost 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d19ec279ec031866e16904a282d3568d0412ab22.
Updated by Oliver Hader almost 5 years ago
- Related to Bug #90004: Avoid showing telephone element for route link browser added
Updated by Oliver Hader almost 5 years ago
- Related to Bug #89532: Blind options folder,tel in redirects added
Updated by Leonie Philine over 4 years ago
- Category set to Backend User Interface
- Status changed from Closed to New
- Target version set to next-patchlevel
The "inputLink"
backend form element renderType
was overlooked:
\TYPO3\CMS\Backend\Form\Element\InputLinkElement::getLinkExplanation()
does not handle Telephone links and returns $data['text'] == 'not implemented type telephone'
This is the situation at TYPO3 10.3.
To reproduce:
1. Create a TCA field like:
'link' => [
'exclude' => true,
'label' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link',
'config' => [
'type' => 'input',
'renderType' => 'inputLink',
'size' => 50,
'max' => 1024,
'eval' => 'trim,required',
'autocomplete' => true,
'fieldControl' => [
'linkPopup' => [
'options' => [
'title' => 'LLL:EXT:frontend/Resources/Private/Language/locallang_ttc.xlf:header_link_formlabel',
'blindLinkFields' => 'class, params, title',
'blindLinkOptions' => '',
],
],
],
'softref' => 'typolink',
],
],
2. Create a record with above defined field in the backend.
3. Open the link popup ("BrowseLinks"), choose "Telephone" and enter a phone number.
4. Click "Set link" to apply and close the dialog window.
Actual result:
The link preview field displays: "not implemented type telephone" as returned by \TYPO3\CMS\Backend\Form\Element\InputLinkElement::getLinkExplanation()
.
Expected result:
The link preview field renders a phone icon and the phone number (as works perfectly for mailto
links.).
Updated by Georg Ringer over 4 years ago
- Related to Bug #90771: InputLinkElement does not support telefphone links added
Updated by Georg Ringer over 4 years ago
- Status changed from New to Closed
dear Leonie Philine Bitto,
I am closing this issue again and opend a new one #90771.