Bug #58138
closedCSRF with registerModule and navFrameScript
100%
Description
How to use \TYPO3\CMS\Extbase\Utility\ExtensionUtility::registerModule with navFrameScript parameter?
It does not work, as the modules are loaded before the BE_USER, so BackendUtility::getModuleUrl does only retrieve a "dummyToken".
May you help me out?
Updated by Helmut Hummel almost 11 years ago
- Status changed from New to Needs Feedback
You want to have a custom navFrame, right? How does the URL to your navigation must look like? is it mod.php?M=<moduleName> ... ?
Can you also show me how you tried to register this navigation component?
Thanks
Updated by Falk Aaron almost 11 years ago
'navFrameScript' => BackendUtility::getModuleUrl('RolRkchannelRkchannel_RolRkchannelM3', array('tx_rolrkchannel_rolrkchannelrkchannel_rolrkchannelm3[action]'=> 'tree'))
Thats how i configure the navFrameScript. It's not working like that.
Updated by Helmut Hummel almost 11 years ago
- Status changed from Needs Feedback to Accepted
Updated by Gerrit Code Review almost 11 years ago
- Status changed from Accepted 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/30593
Updated by Helmut Hummel almost 11 years ago
Falk Aaron wrote:
'navFrameScript' => BackendUtility::getModuleUrl('RolRkchannelRkchannel_RolRkchannelM3', array('tx_rolrkchannel_rolrkchannelrkchannel_rolrkchannelm3[action]'=> 'tree'))
Thats how i configure the navFrameScript. It's not working like that.
Please check the patch in the review system.
Apply the patch and configure the navigation as follows:
'navigationFrameModule' name of the module that is loaded in the navigation frame
'navigationFrameModuleParamters' additional parameters (if needed and specified)
Updated by Gerrit Code Review almost 11 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/30593
Updated by Gerrit Code Review over 10 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/30593
Updated by Helmut Hummel over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset f8b88c848b41da7f52d261d3f4479bd2f9b49435.
Updated by Gerrit Code Review over 10 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/32676
Updated by Helmut Hummel over 10 years ago
- Status changed from Under Review to Resolved
Applied in changeset 3955abcef1fb3434e6555c134d411a7ff0a340ef.
Updated by David Bruchmann over 8 years ago
Seems the patch made it's way only in TYPO3 Version 7 but not in the 6.2 Branch. Just as info.
Updated by Wouter Wolters over 8 years ago
Two messages above it mentions the 6.2 backport. This change is in 6.2 as well.
Updated by Helmut Hummel over 8 years ago
Wouter Wolters wrote:
Two messages above it mentions the 6.2 backport. This change is in 6.2 as well.
Yes, it absolutely is in 6.2 as well!
Updated by David Bruchmann over 8 years ago
I see, sorry for confusion.
Functionality seems just being in another file - not in ModuleLoader.php but in MenuModuleView.php