Project

General

Profile

Actions

Feature #81623

closed

Create a Hook for Linkhandling

Added by José Ricardo over 6 years ago. Updated over 4 years ago.

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

0%

Estimated time:
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.


Files

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

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Story #46140: Add configurable linkhandler for arbitrary recordsClosedMarkus Klein2015-04-102015-04-11

Actions
Related to TYPO3 Core - Feature #79626: Integrate linkhandler into coreClosed2017-02-04

Actions
Related to TYPO3 Core - Epic #88027: Properly handle Hooks/Signals and EventsClosedBenni Mack2022-04-22

Actions
Actions #1

Updated by José Ricardo over 6 years ago

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

Updated by José Ricardo over 6 years ago

  • Description updated (diff)
Actions #3

Updated by José Ricardo over 6 years ago

Actions #4

Updated by Sybille Peters almost 6 years 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!

Actions #5

Updated by Benni Mack almost 5 years ago

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

Updated by Benni Mack almost 5 years 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?

Actions #7

Updated by Riccardo De Contardi over 4 years ago

  • Status changed from Needs Feedback to Closed

No feedback since the last 90 days => closing this issue.

If you think that this is the wrong decision, please reopen it or ping me.

Thank you and best regards

Actions

Also available in: Atom PDF