[TYPO3-english] Extension Data Missing

Lee M. Childress lchildress at porterco.org
Fri May 4 16:00:11 CEST 2012


Hi Lee M. Childress,

Lee M. Childress wrote:

> Earlier I wrote: I am updating a site from 4.4 to 4.5 (IIS -> Linux). I
> copied the database files over for my custom extensions and if I do a
> query, all the data is there. However, when I go to List and click on my
> storage folder, the data is not contained in that folder. How do I import
> the data from the database into the empty storage folder? Apparently that
> needs to be done before my extension can find the data?
>
> Someone was kind enough to respond and told me that the UID and PID have
> to match for storage folder and database table. I checked and they do
> indeed match. The remainder of my plugin works, it is just not importing
> data. Any more insight anyone has to offer? I'm stumped.

Make sure to have the $TCA array properly set up. Otherwise TYPO3 ignores
your data.
Please check to module configuration -> table configuration array and the
manual doc_core_tca.

Best regards

Yikes, I'm obviously in over my head and sinking fast! In my ext_tables.php file here is what I have:

<?php
if (!defined ('TYPO3_MODE')) {
	die ('Access denied.');
}
$TCA['tx_beachsamples_pcg'] = array (
	'ctrl' => array (
		'title'     => 'LLL:EXT:beachsamples/locallang_db.xml:tx_beachsamples_pcg',		
		'label'     => 'reference',	
		'tstamp'    => 'tstamp',
		'crdate'    => 'crdate',
		'cruser_id' => 'cruser_id',
		'default_sortby' => 'ORDER BY date1 DESC',	
		'enablecolumns' => array (		
			'disabled' => 'hidden',	
			'starttime' => 'starttime',	
			'endtime' => 'endtime',
		),
		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY).'tca.php',
		'iconfile'          => t3lib_extMgm::extRelPath($_EXTKEY).'icon_tx_beachsamples_pcg.gif',
	),
);


t3lib_div::loadTCA('tt_content');
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$_EXTKEY.'_pi1']='layout,select_key';


t3lib_extMgm::addPlugin(array(
	'LLL:EXT:beachsamples/locallang_db.xml:tt_content.list_type_pi1',
	$_EXTKEY . '_pi1',
	t3lib_extMgm::extRelPath($_EXTKEY) . 'ext_icon.gif'
),'list_type');


if (TYPO3_MODE == 'BE') {
	$TBE_MODULES_EXT['xMOD_db_new_content_el']['addElClasses']['tx_beachsamples_pi1_wizicon'] = t3lib_extMgm::extPath($_EXTKEY).'pi1/class.tx_beachsamples_pi1_wizicon.php';
}
?>

Is that where I am supposed to be looking? Thanks for your patience.


More information about the TYPO3-english mailing list