Skip to content

Commit

Permalink
fix #66: change wizard registration in TCA
Browse files Browse the repository at this point in the history
This fixes the following notice in the deprecation.log:

The way registering a wizard in TCA has changed in 6.2. Please set module[name]=module_name instead of using script=path/to/script.php in your TCA. The possibility to register wizards this way will be removed in TYPO3 CMS 7.
  • Loading branch information
Alexander Bigga committed Jan 25, 2018
1 parent db8c8ca commit 75e0630
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Configuration/TCA/MetadataPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
*
* The TYPO3 project - inspiring people to share!
*/

if (!defined('TYPO3_MODE')) {
die('Access denied.');
}
Expand Down Expand Up @@ -170,7 +170,9 @@
'edit' => array(
'type' => 'popup',
'title' => 'Edit',
'script' => 'wizard_edit.php',
'module' => array(
'name' => 'wizard_edit',
),
'icon' => 'edit2.gif',
'popup_onlyOpenIfSelected' => 1,
'JSopenParams' => 'height=350,width=580,status=0,menubar=0,scrollbars=1',
Expand All @@ -184,7 +186,9 @@
'pid' => '###CURRENT_PID###',
'setValue' => 'prepend',
),
'script' => 'wizard_add.php',
'module' => array(
'name' => 'wizard_add',
),
),
),
),
Expand Down

0 comments on commit 75e0630

Please sign in to comment.