Bug #81903
closedDatabaseRecordLinkBuilder is ignoring other settings
100%
Description
The DatabaseRecordLinkBuilder is ignoring other settings make via typoscript.
So for example the ATagParams setting is ignored.
To Reproduce:
Make an Linkhandler for news, eg:
TCEMAIN.linkHandler { # Pressemitteilungen tx_news { handler = TYPO3\CMS\Recordlist\LinkHandler\RecordLinkHandler label = Pressemitteilungen configuration { table = tx_news_domain_model_news storagePid = 136 hidePageTree = 1 } scanAfter = page } }
Now use typoscript to render the Link:
link = TEXT link { value = Test typolink { parameter = t3://record?identifier=tx_news&uid=12046 ATagParams = class="test" } }
You will see the added class will not be rendered.
My simple soloution: merge the Link Conf array with the typoScriptConfiguration for the linkHandler (see example Patch attached).
Files
Updated by Mathias Brodala almost 7 years ago
- Is duplicate of Bug #81620: Linkhandler remove all attributes set in the link wizard and the template added
Updated by Mathias Brodala almost 7 years ago
- Status changed from New to Closed
Please continue in #81620.
Updated by René Pflamm almost 7 years ago
I think this are different bugs.
I applied the patch but the ATagParams is ignored again. The solution of #81620 don't work here because the $typoScriptConfiguration variable has only a ATagParams if this was configured for the LinkHandler.
Updated by Mathias Brodala almost 7 years ago
- Is duplicate of deleted (Bug #81620: Linkhandler remove all attributes set in the link wizard and the template)
Updated by Gerrit Code Review over 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/55426
Updated by Christian Kuhn over 6 years ago
- Related to Bug #81620: Linkhandler remove all attributes set in the link wizard and the template added
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/55426
Updated by Gerrit Code Review about 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/55426
Updated by Gerrit Code Review about 6 years ago
Patch set 1 for branch TYPO3_8-7 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/56069
Updated by René Pflamm about 6 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 7fb4977bf5f9e68fb0b996e4296f822d6fb80b50.
Updated by Stefan Froemken about 6 years ago
- Related to Bug #84116: Linkhandler links not rendered in frontend when TSConfig configuration is applied using "registerPageTSConfigFile()" or "addPageTSConfig()" added
Updated by Rémy DANIEL about 6 years ago
- Related to Bug #80896: TypolinkViewhelper with linkhandler ignores class attribute added