我有一个 Typo3 6.2 和我的 tt_address 扩展字段的后端问题:
在 Typo3 4.5 中,我用 kickstarter 构建的一个小扩展扩展了 tt_address 数据库字段。更新到 Typo3 6.2 后,这些字段在后端消失了,所以我不能再编辑它们了。
在前端一切都很好,所有字段都在那里。
知道吗,如何在后端再次访问这些字段?
这是我的 ext_tables.php 的内容:
if (!defined('TYPO3_MODE')) { die ('Access denied.'); }
$tempColumns = array (
'tx_ttaddressextended_kuerzel' => array (
'exclude' => 0,
'label' => 'LLL:EXT:tt_address_extended/locallang_db.xml:tt_address.tx_ttaddressextended_kuerzel',
'config' => array (
'type' => 'input',
'size' => '30',
'max' => '2',
)
),
'tx_ttaddressextended_kurzwahl' => array (
'exclude' => 0,
'label' => 'LLL:EXT:tt_address_extended/locallang_db.xml:tt_address.tx_ttaddressextended_kurzwahl',
'config' => array (
'type' => 'input',
'size' => '30',
)
),
'tx_ttaddressextended_by_tema' => array (
'exclude' => 0,
'label' => 'LLL:EXT:tt_address_extended/locallang_db.xml:tt_address.tx_ttaddressextended_by_tema',
'config' => array (
'type' => 'input',
'size' => '30',
)
),
'tx_ttaddressextended_ausbildung' => array (
'exclude' => 0,
'label' => 'LLL:EXT:tt_address_extended/locallang_db.xml:tt_address.tx_ttaddressextended_ausbildung',
'config' => array (
'type' => 'text',
'cols' => '30',
'rows' => '5',
'wizards' => array(
'_PADDING' => 2,
'RTE' => array(
'notNewRecords' => 1,
'RTEonly' => 1,
'type' => 'script',
'title' => 'Full screen Rich Text Editing|Formatteret redigering i hele vinduet',
'icon' => 'wizard_rte2.gif',
'script' => 'wizard_rte.php',
),
),
)
),
'tx_ttaddressextended_abschluss' => array (
'exclude' => 0,
'label' => 'LLL:EXT:tt_address_extended/locallang_db.xml:tt_address.tx_ttaddressextended_abschluss',
'config' => array (
'type' => 'input',
'size' => '30',
)
),
'tx_ttaddressextended_sprachen' => array (
'exclude' => 0,
'label' => 'LLL:EXT:tt_address_extended/locallang_db.xml:tt_address.tx_ttaddressextended_sprachen',
'config' => array (
'type' => 'input',
'size' => '30',
)
),
'tx_ttaddressextended_laufbahn' => array (
'exclude' => 0,
'label' => 'LLL:EXT:tt_address_extended/locallang_db.xml:tt_address.tx_ttaddressextended_laufbahn',
'config' => array (
'type' => 'text',
'cols' => '30',
'rows' => '5',
'wizards' => array(
'_PADDING' => 2,
'RTE' => array(
'notNewRecords' => 1,
'RTEonly' => 1,
'type' => 'script',
'title' => 'Full screen Rich Text Editing|Formatteret redigering i hele vinduet',
'icon' => 'wizard_rte2.gif',
'script' => 'wizard_rte.php',
),
),
)
),
'tx_ttaddressextended_auszeichnungen' => array (
'exclude' => 0,
'label' => 'LLL:EXT:tt_address_extended/locallang_db.xml:tt_address.tx_ttaddressextended_auszeichnungen',
'config' => array (
'type' => 'text',
'cols' => '30',
'rows' => '5',
'wizards' => array(
'_PADDING' => 2,
'RTE' => array(
'notNewRecords' => 1,
'RTEonly' => 1,
'type' => 'script',
'title' => 'Full screen Rich Text Editing|Formatteret redigering i hele vinduet',
'icon' => 'wizard_rte2.gif',
'script' => 'wizard_rte.php',
),
),
)
),
'tx_ttaddressextended_besondere_projekte' => array (
'exclude' => 0,
'label' => 'LLL:EXT:tt_address_extended/locallang_db.xml:tt_address.tx_ttaddressextended_besondere_projekte',
'config' => array (
'type' => 'text',
'cols' => '30',
'rows' => '5',
'wizards' => array(
'_PADDING' => 2,
'RTE' => array(
'notNewRecords' => 1,
'RTEonly' => 1,
'type' => 'script',
'title' => 'Full screen Rich Text Editing|Formatteret redigering i hele vinduet',
'icon' => 'wizard_rte2.gif',
'script' => 'wizard_rte.php',
),
),
)
),
'tx_ttaddressextended_aktiv' => array (
'exclude' => 0,
'label' => 'LLL:EXT:tt_address_extended/locallang_db.xml:tt_address.tx_ttaddressextended_aktiv',
'config' => array (
'type' => 'text',
'cols' => '30',
'rows' => '5',
'wizards' => array(
'_PADDING' => 2,
'RTE' => array(
'notNewRecords' => 1,
'RTEonly' => 1,
'type' => 'script',
'title' => 'Full screen Rich Text Editing|Formatteret redigering i hele vinduet',
'icon' => 'wizard_rte2.gif',
'script' => 'wizard_rte.php',
),
),
)
),
'tx_ttaddressextended_interessen' => array (
'exclude' => 0,
'label' => 'LLL:EXT:tt_address_extended/locallang_db.xml:tt_address.tx_ttaddressextended_interessen',
'config' => array (
'type' => 'text',
'cols' => '30',
'rows' => '5',
'wizards' => array(
'_PADDING' => 2,
'RTE' => array(
'notNewRecords' => 1,
'RTEonly' => 1,
'type' => 'script',
'title' => 'Full screen Rich Text Editing|Formatteret redigering i hele vinduet',
'icon' => 'wizard_rte2.gif',
'script' => 'wizard_rte.php',
),
),
)
),
);
//t3lib_div::loadTCA('tt_address');
if (version_compare(TYPO3_branch, '6.1', '<')) {
t3lib_div::loadTCA('tt_content');
}
t3lib_extMgm::addTCAcolumns('tt_address',$tempColumns,1);
t3lib_extMgm::addToAllTCAtypes('tt_address',
'tx_ttaddressextended_kuerzel;;;;1-1-1,
tx_ttaddressextended_kurzwahl,
tx_ttaddressextended_by_tema,
tx_ttaddressextended_ausbildung;;;richtext[]:rte_transform[mode=ts],
tx_ttaddressextended_abschluss,
tx_ttaddressextended_sprachen,
tx_ttaddressextended_laufbahn;;;richtext[]:rte_transform[mode=ts],
tx_ttaddressextended_auszeichnungen;;;richtext[]:rte_transform[mode=ts],
tx_ttaddressextended_besondere_projekte;;;richtext[]:rte_transform[mode=ts],
tx_ttaddressextended_aktiv;;;richtext[]:rte_transform[mode=ts],
tx_ttaddressextended_interessen;;;richtext[]:rte_transform[mode=ts]'
);