Create a Hook for Linkhandling
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.
#4 Updated by Sybille Peters over 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!
#6 Updated by Benni Mack 4 months ago
- Status changed from New to Needs Feedback
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?