Feature #81623

Create a Hook for Linkhandling

Added by José Ricardo almost 2 years ago. Updated 15 days ago.

Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2017-06-20
Due date:
% Done:

0%

PHP Version:
Tags:
Complexity:
easy
Sprint Focus:

Description

The new TYPO3 8 core Linkhandler functionality works just fine, but a hook would be useful to allow extension developers to handle some parameters before the typolink be generated. This functionality was provided by some of the old Linkhandler extensions and for those who used it on previously versions, the absence of the hook could lead to configuration problems.

I attached a patch file that modifies \TYPO3\CMS\Frontend\Typolink\DatabaseRecordLinkBuilder->build to create the hook. Please tell me what you think about it.

DatabaseRecordLinkBuilder.patch View (986 Bytes) José Ricardo, 2017-06-20 00:29


Related issues

Related to TYPO3 Core - Story #46140: Add configurable linkhandler for arbitrary records Closed 2015-04-10 2015-04-11
Related to TYPO3 Core - Feature #79626: Integrate linkhandler into core Closed 2017-02-04
Related to TYPO3 Core - Epic #88027: Properly handle Hooks/Signals and Events In Progress 2019-03-28

History

#1 Updated by José Ricardo almost 2 years ago

  • Related to Story #46140: Add configurable linkhandler for arbitrary records added

#2 Updated by José Ricardo almost 2 years ago

  • Description updated (diff)

#3 Updated by José Ricardo almost 2 years ago

#4 Updated by Sybille Peters about 1 year ago

Thank you for your report.

Even though it has been some time, would you consider checking if your patch idea is still up to date and upload it to our Gerrit review server?

Someone could do this for you, but I am thinking you might like the opportunity to contribute to TYPO3 yourself.

You can find a description of the TYPO3 contribution workflow here: https://docs.typo3.org/typo3cms/ContributionWorkflowGuide/

Hint: If you get stuck anywhere, ask on Slack in the #typo3-cms-coredev channel. You can register in the TYPO3 slack workspace here: https://forger.typo3.com/slack

Thank you in advance!

#5 Updated by Benni Mack 27 days ago

  • Related to Epic #88027: Properly handle Hooks/Signals and Events added

#6 Updated by Benni Mack 15 days ago

  • Status changed from New to Needs Feedback

Hi Jose,

the idea of the functionality for LinkHandling / LinkService is that you can extend it with your own format completely without having to deal with the DatabaseRecordLinkBuilder at all. Can you check if you still need a hook in this very specific location?

Also available in: Atom PDF