Bug #69170
closedContext Menu Typoscript: ###ID### is not replaced by openCustomUrlInContentFrame
100%
Description
The intention is to add a new click menu in the page tree redirecting to a backend module with the selected page uid.
Following [[https://docs.typo3.org/typo3cms/CoreApiReference/6.2/JavaScript/UsingExtjs/PageTree/?highlight=click#context-menu-custom-callbacks]], you can use "callbackAction = openCustomUrlInContentFrame" and configure the URL in "customAttributes.contentUrl". In 6.2 you can use the function getModuleUrl to generate the URI:
$clickMenuUrl = \TYPO3\CMS\Backend\Utility\BackendUtility::getModuleUrl( 'txmymodule', array('id' => '###ID###') );
So ###ID### is expected to be replaced by the according Ext.js function "openCustomUrlInContentFrame" (actions.js).
Unfortunately, the parameters of the generated URL are URI encoded, so that there is no chance to replace ###ID###. It is submitted as %23%23%23ID%23%23%23 instead.
Automatical replacement of the dynamic ID parameter doesn't seem to work at the moment.
Updated by Gerrit Code Review over 9 years ago
- Status changed from New 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/42731
Updated by Gerrit Code Review over 9 years ago
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42733
Updated by Gerrit Code Review over 9 years ago
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/42735
Updated by Gerrit Code Review over 9 years ago
Patch set 2 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/42731
Updated by Gerrit Code Review over 9 years ago
Patch set 3 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/42731
Updated by Gerrit Code Review over 9 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/42733
Updated by Gerrit Code Review over 9 years ago
Patch set 4 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/42731
Updated by Christian Seifert over 9 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset d9be5665e1aa3920c302519844f0d3d46fce055b.
Updated by Riccardo De Contardi about 7 years ago
- Status changed from Resolved to Closed