PDA

Просмотр полной версии : проблемы с wizard_forms


German
19.07.2010, 14:41
не могу добавить в модуль "форм визард", который используется в плагине mail_form.

делал так в файле tca.php своего модуля:

'additional_fields' => array (
'label' => 'LLL:EXT:asb_forms/locallang_db.xml:tx_asbforms_forms.additional_fiel ds',
'config' => array (
'type' => 'text',
'cols' => '48',
'rows' => '5',
'wizards' => Array(
'_PADDING' => 4,
'_VALIGN' => 'middle',
'forms' => Array(
'notNewRecords' => 1,
'enableByTypeConfig' => 1,
'type' => 'script',
'title' => 'Forms wizard',
'icon' => 'wizard_forms.gif',
'script' => 'wizard_forms.php?special=formtype_mail',
'params' => array('xmlOutput' => 0)
),
),
)
),

выводится только текстовое поле без волшебника(визарда).
что может быть не так???

German
19.07.2010, 15:09
удалил строку 'enableByTypeConfig' => 1,
и заработало

If set, then the wizard is enabled only if declared in the Special Configuration of specific types (using “wizards[list of wizard-keys]”). See wizard section.