[TYPO3] Trouble with Kickstarter

Michael Miousse michael.miousse at infoglobe.ca
Thu Sep 18 22:52:38 CEST 2008


Ronald Renfro wrote:

> I am having trouble with the kickstarter. I created a frontend plugin,
> defined the necessary db fields (path, files, title) and other items
> with the kickstarter. After writing the extension and installing it
> none of the db fields I defined show up in the backend edit form. I
> have tried multiple times. Cleared the typo3conf cache etc. Doesn´t
> the kickstarter code enable the fields per default or do I have to due
> this manually?
> 
> --------------------
> ext_tables.php:
> 
> $TCA["tx_dreimorgentest_mp3"] = array (
> "ctrl" => array (
> 'title'     => 'LLL:EXT:dreimorgen_test/
> locallang_db.xml:tx_dreimorgentest_mp3',              ## WOP:[tables][1][title]
> 'label'     => 'uid', ## WOP:[tables][1][header_field]
> 'tstamp'    => 'tstamp',
> 'crdate'    => 'crdate',
> 'cruser_id' => 'cruser_id',
> 'versioningWS' => TRUE, ## WOP:[tables][1][versioning]
> 'origUid' => 't3_origuid',
> 'languageField'            => 'sys_language_uid',     ## WOP:[tables][1]
> [localization]
> 'transOrigPointerField'    => 'l18n_parent',  ## WOP:[tables][1]
> [localization]
> 'transOrigDiffSourceField' => 'l18n_diffsource',      ## WOP:[tables][1]
> [localization]
> 'sortby' => 'sorting',        ## WOP:[tables][1][sorting]
> 'delete' => 'deleted',        ## WOP:[tables][1][add_deleted]
> 'enablecolumns' => array (            ## WOP:[tables][1][add_hidden] / [tables]
> [1][add_starttime] / [tables][1][add_endtime] / [tables][1][add_access]
> 'disabled' => 'hidden',       ## WOP:[tables][1][add_hidden]
> ),
> 'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php',
> 'iconfile'          =>
> t3lib_extMgm::extRelPath($_EXTKEY).'icon_tx_dreimorgentest_mp3.gif',
> ),
> "feInterface" => array (
> "fe_admin_fieldList" => "sys_language_uid, l18n_parent,
> l18n_diffsource, hidden, path, files, title",
> )
> );
> 
> 
> --------------------
> tca.php
> 
> <?php
> if (!defined ('TYPO3_MODE'))  die ('Access denied.');
> 
> $TCA["tx_dreimorgentest_mp3"] = array (
> "ctrl" => $TCA["tx_dreimorgentest_mp3"]["ctrl"],
> "interface" => array (
> "showRecordFieldList" =>
> "sys_language_uid,l18n_parent,l18n_diffsource,hidden,path,files,title"
> ),
> "feInterface" => $TCA["tx_dreimorgentest_mp3"]["feInterface"],
> "columns" => array (
> 't3ver_label' => array (              ## WOP:[tables][1][versioning]
> 'label'  => 'LLL:EXT:lang/locallang_general.xml:LGL.versionLabel',
> 'config' => array (
> 'type' => 'input',
> 'size' => '30',
> 'max'  => '30',
> )
> ),
> 'sys_language_uid' => array (         ## WOP:[tables][1][localization]
> 'exclude' => 1,
> 'label'  => 'LLL:EXT:lang/locallang_general.xml:LGL.language',
> 'config' => array (
> 'type'                => 'select',
> 'foreign_table'       => 'sys_language',
> 'foreign_table_where' => 'ORDER BY sys_language.title',
> 'items' => array(
> array('LLL:EXT:lang/locallang_general.xml:LGL.allLanguages', -1),
> array('LLL:EXT:lang/locallang_general.xml:LGL.default_value', 0)
> )
> )
> ),
> 'l18n_parent' => array (              ## WOP:[tables][1][localization]
> 'displayCond' => 'FIELD:sys_language_uid:>:0',
> 'exclude'     => 1,
> 'label'       => 'LLL:EXT:lang/
> locallang_general.xml:LGL.l18n_parent',
> 'config'      => array (
> 'type'  => 'select',
> 'items' => array (
> array('', 0),
> ),
> 'foreign_table'       => 'tx_dreimorgentest_mp3',
> 'foreign_table_where' => 'AND
> tx_dreimorgentest_mp3.pid=###CURRENT_PID### AND
> tx_dreimorgentest_mp3.sys_language_uid IN (-1,0)',
> )
> ),
> 'l18n_diffsource' => array (          ## WOP:[tables][1][localization]
> 'config' => array (
> 'type' => 'passthrough'
> )
> ),
> 'hidden' => array (           ## WOP:[tables][1][add_hidden]
> 'exclude' => 1,
> 'label'   => 'LLL:EXT:lang/locallang_general.xml:LGL.hidden',
> 'config'  => array (
> 'type'    => 'check',
> 'default' => '0'
> )
> ),
> "path" => Array (             ## WOP:[tables][1][fields][1][fieldname]
> "exclude" => 1,               ## WOP:[tables][1][fields][1][excludeField]
> "label" => "LLL:EXT:dreimorgen_test/
> locallang_db.xml:tx_dreimorgentest_mp3.path",         ## WOP:[tables][1]
> [fields][1][title]
> "config" => Array (
> "type" => "input",    ## WOP:[tables][1][fields][1][type]
> "size" => "30",       ## WOP:[tables][1][fields][1][conf_size]
> )
> ),
> "files" => Array (            ## WOP:[tables][1][fields][2][fieldname]
> "exclude" => 1,               ## WOP:[tables][1][fields][2][excludeField]
> "label" => "LLL:EXT:dreimorgen_test/
> locallang_db.xml:tx_dreimorgentest_mp3.files",                ## WOP:[tables][1]
> [fields][2][title]
> "config" => Array (
> "type" => "group",
> "internal_type" => "file",
> "allowed" => $GLOBALS["TYPO3_CONF_VARS"]["GFX"]["imagefile_ext"],
> ## WOP:[tables][1][fields][2][conf_files_type]
> "max_size" => 500,    ## WOP:[tables][1][fields][2][conf_max_filesize]
> "uploadfolder" => "uploads/tx_dreimorgentest",
> "size" => 1,  ## WOP:[tables][1][fields][2][conf_files_selsize]
> "minitems" => 0,
> "maxitems" => 1,      ## WOP:[tables][1][fields][2][conf_files]
> )
> ),
> "title" => Array (            ## WOP:[tables][1][fields][3][fieldname]
> "exclude" => 1,               ## WOP:[tables][1][fields][3][excludeField]
> "label" => "LLL:EXT:dreimorgen_test/
> locallang_db.xml:tx_dreimorgentest_mp3.title",                ## WOP:[tables][1]
> [fields][3][title]
> "config" => Array (
> "type" => "text",
> "cols" => "30",       ## WOP:[tables][1][fields][3][conf_cols]
> "rows" => "5",        ## WOP:[tables][1][fields][3][conf_rows]
> )
> ),
> ),
> "types" => array (
> "0" => array("showitem" => "sys_language_uid;;;;1-1-1, l18n_parent,
> l18n_diffsource, hidden;;1, path, files, title;;;;2-2-2")
> ),
> "palettes" => array (
> "1" => array("showitem" => "")
> )
> );
> ?>

normaly the kickstarter enable fields created by default so your problem may
come from else were then the tca.php or the ext_table.php

have you make update while installing the extension if so what kind of
frontend plugin did you create

Michael Miousse 
infoglobe
michael.miousse at infgoglobe.ca


More information about the TYPO3-english mailing list