[TYPO3-dev] The "Object TypoScript library" in the TYPO3 core?
Steffen Müller
typo3 at t3node.com
Tue Jul 14 23:26:02 CEST 2009
Hi.
On 14.07.2009 18:32 Steffen Kamper wrote:
> Steffen Müller schrieb:
>>
>> t3lib_extMgm::addPageTSConfig('
>> mod.wizards.newContentElement.wizardItems.special {
>> elements.myownce {
>> icon = EXT:myownce/icon_tx_myownce_myownce.gif
>> title = LLL:EXT:myownce/locallang.xml:tx_myownce_itemTitle
>> tt_content_defValues.CType = myownce
>> }
> i didn't filled that in the tutorial because it differs with the new ce
I tried the proposed way of your turorial on buzz but it didn't work.
Changing it like in the above example fixed it.
(A bit confused): So what's the cleanest solution in the end?
>
> class tx_cObjMyOwnCE implements tslib_content_cObjGetSingleHook {
> the rest of the errors are followups of first error.
>
Ah, I have found the gremlin:
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClassDefault']['myownce']
= 'EXT:myownce/class.tx_cobj_myownce.php:tx_cObj_myOwnCE';
instead of
$TYPO3_CONF_VARS['SC_OPTIONS']['tslib/class.tslib_content.php']['cObjTypeAndClassDefault']['myownce']
= 'EXT:myownce:class.tx_cobj_myownce.php:tx_cObj_myOwnCE';
Would you mind fixing those point in your buzz tutorial?
--
cheers,
Steffen
TYPO3 Blog: http://www.t3node.com/
Blubber on Twitter: http://twitter.com/t3node
More information about the TYPO3-dev
mailing list