Russian TYPO3 community

Russian TYPO3 community (http://forum.typo3.ru/index.php)
-   Общие вопросы (http://forum.typo3.ru/forumdisplay.php?f=12)
-   -   проблемы с wizard_forms (http://forum.typo3.ru/showthread.php?t=8742)

German 19.07.2010 14:41

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

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

Код:

'additional_fields' => array (
  'label' => 'LLL:EXT:asb_forms/locallang_db.xml:tx_asbforms_forms.additional_fields',
  '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.


Часовой пояс GMT +4, время: 09:59.

Работает на vBulletin® версия 3.8.1.
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Перевод: zCarot