[TYPO3-mvc] Wrong Extension Key?

David Schreiber flashmasterdash at gmail.com
Sat Dec 19 08:36:27 CET 2009


Hi Rens,

> Can you post the content of ext_tables.php and ext_localconf.php?

Here is my ext_localconf.php of rrmarket:

<?php
if(!defined ('TYPO3_MODE')) die ('Access denied.');

/**
 * Configure the Plugin to call the right combination of Controller and 
Action according to the user input
 */
 
Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'Pi1',
	array(
		'Member' => 'index,show,new,create,delete,edit,update',
		'Commodity' => 'view,list,create,delete,edit,update'
	),
	array(
		'Member' => 'index,show,new,create,delete,edit,update',
		'Commodity' => 'view,list,create,delete,edit,update' 
	)
);

?>

My ext_tables.php of my rrmarket:

<?php
if (!defined ('TYPO3_MODE')) {
	die ('Access denied.');
}

/**
 * The first version of the e-marketplace extension
 */
 
Tx_Extbase_Utility_Extension::registerPlugin(
	$_EXTKEY,
	'Pi1',
	'RREUSE e-marketplace'
);

//t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 
'market');
//$TCA['tt_content']['types']['list']['subtypes_addlist'][$_EXTKEY . 
'_pi1'] = 'pi_flexform';
//t3lib_extMgm::addPiFlexFormValue($_EXTKEY . '_pi1', 'FILE:EXT:' . 
$_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');


t3lib_extMgm::allowTableOnStandardPages
('tx_rrmarket_domain_model_member');

$TCA['tx_rrmarket_domain_model_member'] = array (
	'ctrl' => array (
		'title'             => 'Member', 
		'label' 			=> 'name',
		'tstamp' 			=> 'tstamp',
		'crdate' 			=> 'crdate',
		'versioningWS' 		=> 2,
		'versioning_followPages'	=> true,
		'origUid' 			=> 't3_origuid',
		'languageField' 	=> 'sys_language_uid',
		'transOrigPointerField' 	=> 'l18n_parent',
		'transOrigDiffSourceField' 	=> 'l18n_diffsource',
		'delete' 			=> 'deleted',
		'enablecolumns' 	=> array(
			'disabled' => 'hidden'
			),
		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 
'Configuration/TCA/tca.php', 
		'iconfile' 			=> t3lib_extMgm::extRelPath
($_EXTKEY) . 
'Resources/Public/Icons/icon_tx_rrmarket_domain_model_member.gif' 
	)
);


t3lib_extMgm::allowTableOnStandardPages
('tx_rrmarket_domain_model_commodity');

$TCA['tx_rrmarket_domain_model_commodity'] = array (
	'ctrl' => array (
		'title'             => 'Commodity', 
		'label' 			=> 'title',
		'tstamp' 			=> 'tstamp',
		'crdate' 			=> 'crdate',
		'versioningWS' 		=> 2,
		'versioning_followPages'	=> true,
		'origUid' 			=> 't3_origuid',
		'languageField' 	=> 'sys_language_uid',
		'transOrigPointerField' 	=> 'l18n_parent',
		'transOrigDiffSourceField' 	=> 'l18n_diffsource',
		'delete' 			=> 'deleted',
		'enablecolumns' 	=> array(
			'disabled' => 'hidden'
			),
		'dynamicConfigFile' => t3lib_extMgm::extPath($_EXTKEY) . 
'Configuration/TCA/tca.php',
		'iconfile' 			=> t3lib_extMgm::extRelPath
($_EXTKEY) . 
'Resources/Public/Icons/icon_tx_rrmarket_domain_model_commodity.gif'
	)
);

$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature = strtolower($extensionName) . '_pi1';


//t3lib_div::loadTCA('tt_content');
$GLOBALS['TCA']['tt_content']['types']['list']['subtypes_excludelist']
[$pluginSignature] = 'layout, select_key';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:' . 
$_EXTKEY . '/Configuration/FlexForms/flexform_list.xml');
?>


Help would be appreciated, thanks.
David Schreiber


More information about the TYPO3-project-typo3v4mvc mailing list