http://forge.typo3.org/http://forge.typo3.org/themes/typo3_forge/favicon/favicon.png?17058661692021-05-07T02:21:30ZTYPO3 ForgeTYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4439232021-05-07T02:21:30ZPhilipp Kitzberger
<ul><li><strong>Tracker</strong> changed from <i>Bug</i> to <i>Feature</i></li><li><strong>TYPO3 Version</strong> deleted (<del><i>10</i></del>)</li></ul> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4583732021-11-25T11:00:24ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>Hey Philipp,</p>
<p>the SoftRefParser has now been completely refactored and is now fully extendable (v11). Can you check if you can now integrate custom Link Handler checks?</p> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4659712022-03-11T15:00:56Zcorbet dynie
<ul><li><strong>File</strong> <i>patch</i> added</li></ul> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4659732022-03-11T15:24:28Zcorbet dynie
<ul><li><strong>File</strong> <a href="/attachments/36788">patch</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/36788/patch">patch</a> added</li></ul><p>I had the same problem with v10.4 and I think it is a bug.<br />All soft reference parsers take care of records except typolink_tag.</p> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4659742022-03-11T15:26:50Zcorbet dynie
<ul><li><strong>File</strong> deleted (<del><i>patch</i></del>)</li></ul> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4665312022-03-29T10:43:16ZOliver Weissweiss@carraldo.de
<ul></ul><p>corbet dynie wrote in <a href="#note-4">#note-4</a>:</p>
<blockquote>
<p>I had the same problem with v10.4 and I think it is a bug.<br />All soft reference parsers take care of records except typolink_tag.</p>
</blockquote>
<p>I can confirm this. records are not checked by linkvalidator. I think, this is a must-have.</p> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4742912022-09-17T09:24:28ZRiccardo De Contardierredeco@gmail.com
<ul><li><strong>Status</strong> changed from <i>Needs Feedback</i> to <i>New</i></li></ul> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4872342023-02-17T14:51:32ZPhilipp Kitzberger
<ul></ul><blockquote>
<p>Can you check if you can now integrate custom Link Handler checks?</p>
</blockquote>
<p>Thanks, Benni! With the TYPO3 11 implementation of the linkvalidator it was now possible to implement handling for our custom typolink format.</p>
<p>To cover all cases (links within <code>tt_content.bodytext</code> and dedicated link fields such as <code>tt_content.header_link</code>) I had to implement the following:</p>
<p><strong>EXT:my_extension/ext_localconf.php</strong><br /><pre>
$GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['linkvalidator']['checkLinks']['custom'] = \MyVendor\MyExtension\LinkValidation\CustomUriValidator::class;
</pre></p>
<p><strong>EXT:my_extension/Configuration/TCA/Overrides/tt_content.php</strong><br /><pre>
$GLOBALS['TCA']['tt_content']['columns']['bodytext']['config']['softref'] .= ',custom';
$GLOBALS['TCA']['tt_content']['columns']['header_link']['config']['softref'] .= ',custom';
</pre></p>
<p><strong>EXT:my_extension/Configuration/Services.yaml</strong><br /><pre>
services:
MyVendor\MyExtension\LinkValidation\CustomUriResolver:
tags:
- name: event.listener
event: TYPO3\CMS\Core\DataHandling\Event\AppendLinkHandlerElementsEvent
MyVendor\MyExtension\LinkValidation\CustomUriParser:
tags:
- name: softreference.parser
parserKey: custom
</pre></p> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4962762023-07-05T19:53:53ZBenni Mackbenni@typo3.org
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Needs Feedback</i></li></ul><p>so the only thing now is to create a custom linkvalidator now? Or is something missing with v11? Or maybe just documentation?</p> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4962772023-07-05T19:54:13ZBenni Mackbenni@typo3.org
<ul><li><strong>Related to</strong> <i><a class="issue tracker-4 status-1 priority-4 priority-default" href="/issues/96110">Task #96110</a>: Clarify usage of custom linkhandler functionality in redirects module</i> added</li></ul> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4964072023-07-06T08:21:03ZPhilipp Kitzberger
<ul></ul><p><a class="user active user-mention" href="http://forge.typo3.org/users/320">@Benni Mack</a>, yeah, maybe it's just documentation now that's missing. I'm often confused about the docs on these topics to be honest. Linkhandler vs. linkbrowser vs. linkvalidator. I guess the chapter on custom linkvalidators is missing completely? <a class="external" href="https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/LinkHandling/Index.html">https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/LinkHandling/Index.html</a></p> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4964332023-07-06T08:57:43ZLina Wolf112@linawolf.de
<ul></ul><p><a class="user active user-mention" href="http://forge.typo3.org/users/44648">@Philipp Kitzberger</a> is this what you are missing? <a class="external" href="https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/LinkHandling/Tutorials/CustomLinkBrowser.html">https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/LinkHandling/Tutorials/CustomLinkBrowser.html</a></p> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=4964342023-07-06T08:59:42ZPhilipp Kitzberger
<ul></ul><p><a class="user active user-mention" href="http://forge.typo3.org/users/3418">@Lina Wolf</a>, nope, I'm talking about a chapter on "link validation" (which I cannot find in the docs)</p> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=5122262024-03-15T09:10:43ZSybille Peterssypets@gmx.de
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-1 priority-4 priority-default" href="/issues/102468">Bug #102468</a>: Linkvalidator doesn't check record/custom links within RTEs at all</i> added</li></ul> TYPO3 Core - Feature #94086: Softref for custom linkhandlerhttp://forge.typo3.org/issues/94086?journal_id=5122332024-03-15T09:47:05ZSybille Peterssypets@gmx.de
<ul><li><strong>Related to</strong> <i><a class="issue tracker-2 status-8 priority-3 priority-lowest" href="/issues/103403">Feature #103403</a>: Make it possible to check custom record links with linkvalidator</i> added</li></ul>