[TYPO3-german] The default controller for extension and plugin "Pi1" can not be determined unter typo3 6.0

Johannes C. Schulz - EnzephaloN IT-Solutions info at enzephalon.de
Mon Jan 28 12:19:43 CET 2013


Hallo

Ich glaube hierbei nicht an einen Core-Bug.
Ich habe jetzt noch einen Fehler in der localconf gefunden und behoben. Da ich aber die Extension nicht fehlerfrei über den EM installieren kann, weiß ich auch nicht ob der ursprüngliche Fehler nun weg ist...

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

Tx_Extbase_Utility_Extension::configurePlugin(
	$_EXTKEY,
	'Pi1',
	array(
		'Teaseritem' => 'fulllistitems, shortlistitems, showitem', 'showitemcol',
	),
	array(
		'Teaseritem' => '',
	)
);
?>

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

Tx_Extbase_Utility_Extension::registerPlugin(
	$_EXTKEY,
	'Pi1',
	'TeaserList'
);

t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'TeaserLists');

$extensionName = t3lib_div::underscoredToUpperCamelCase($_EXTKEY);
$pluginSignature =  strtolower($extensionName) . '_pi1';
$TCA['tt_content']['types']['list']['subtypes_excludelist'][$pluginSignature] = 'layout,select_key,recursive';
$TCA['tt_content']['types']['list']['subtypes_addlist'][$pluginSignature] = 'pi_flexform';
t3lib_extMgm::addPiFlexFormValue($pluginSignature, 'FILE:EXT:'.$_EXTKEY.'/Configuration/FlexForms/flexform_enzteaserplugin.xml');


t3lib_extMgm::addLLrefForTCAdescr('tx_enzteaserlist_domain_model_teaseritem', 'EXT:enz_teaserlist/Resources/Private/Language/locallang_csh_tx_enzteaserlist_domain_model_teaseritem.xml');
t3lib_extMgm::allowTableOnStandardPages('tx_enzteaserlist_domain_model_teaseritem');
$TCA['tx_enzteaserlist_domain_model_teaseritem'] = array(
	'ctrl' => array(
		'title'						=> 'LLL:EXT:enz_teaserlist/Resources/Private/Language/locallang_db.xml:tx_enzteaserlist_domain_model_teaseritem',
		'label'						=> 'title',
		'tstamp'					=> 'tstamp',
		'crdate'					=> 'crdate',
		'versioningWS'				=> 2,
		'versioning_followPages'	=> TRUE,
		'origUid'					=> 't3_origuid',
		'languageField'				=> 'sys_language_uid',
		'transOrigPointerField'		=> 'l18n_parent',
		'transOrigDiffSourceField'	=> 'l18n_diffsource',
		'dividers2tabs'				=>	true,
		'delete'					=> 'deleted',
		'enablecolumns'				=> array(
			'disabled'		=> 'hidden'
		),
		'dynamicConfigFile'			=> t3lib_extMgm::extPath($_EXTKEY) . 'Configuration/TCA/Teaseritem.php',
		'iconfile'					=> t3lib_extMgm::extRelPath($_EXTKEY) . 'Resources/Public/Icons/tx_enzteaserlist_domain_model_teaseritem.gif'
	)
);
//t3lib_div::loadTCA('tt_address');
?>

Kollidiere ich vielleicht mit den "namespaces" da ich " t3lib_extMgm::addStaticFile($_EXTKEY, 'Configuration/TypoScript', 'TeaserLists');" sowas mache?

Johannes


-----Ursprüngliche Nachricht-----
Von: typo3-german-bounces at lists.typo3.org [mailto:typo3-german-bounces at lists.typo3.org] Im Auftrag von Philipp Gampe
Gesendet: Montag, 28. Januar 2013 11:04
An: typo3-german at lists.typo3.org
Betreff: Re: [TYPO3-german] The default controller for extension and plugin "Pi1" can not be determined unter typo3 6.0

Hi Johannes,

Johannes C. Schulz - EnzephaloN IT-Solutions wrote:

> "Vorher" war sie garnicht da - habe sie erst erstellt als ich im 
> Error-Trace gesehen habe, daß typo versucht sie zu laden. Also kommt 
> der Fehler auch, wenn sie nicht da ist.

Dann tippe ich auf eine Bug. Tested doch mal mit TYPO3 CMS 6.0-dev und erstelle ggf. ein Issue.

Viele Grüße
--
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln Documentation – linkvalidator
TYPO3 .... inspiring people to share!

_______________________________________________
TYPO3-german mailing list
TYPO3-german at lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-german



More information about the TYPO3-german mailing list