[TYPO3-german] tt_content-Erweiterung

Widmann, Manfred mpunktw at gmx.net
Thu Apr 12 09:13:58 CEST 2007


Ich fürchte, daran liegt es - leider hab' ich mich damit noch nie 
beschäftigt, hatte das der Kickstarter nicht immer für mich erledigt?

Hier die ext_tables.php - villeicht kannst ja korrigierend eingreifen? Würde 
mir sehr helfen!!!
<?php
if (!defined ('TYPO3_MODE'))     die ('Access denied.');
$tempColumns = Array (
    "tx_wmcontentteaser_teaseme" => Array (
        "exclude" => 0,
        "label" =>
"LLL:EXT:wm_contentteaser/locallang_db.xml:tt_content.tx_wmcontentteaser_teaseme",
        "config" => Array (
            "type" => "check",
            "cols" => 4,
            "items" => Array (
                Array("LLL:EXT:wm_contentteaser/locallang_db.xml:tt_content.tx_wmcontentteaser_teaseme.I.0",
""),
            ),
        )
    ),
    "tx_wmcontentteaser_teasertext" => Array (
        "exclude" => 0,
        "label" =>
"LLL:EXT:wm_contentteaser/locallang_db.xml:tt_content.tx_wmcontentteaser_teasertext",
        "config" => Array (
            "type" => "input",
            "size" => "30",
        )
    ),
);


t3lib_div::loadTCA("tt_content");
t3lib_extMgm::addTCAcolumns("tt_content",$tempColumns,1);


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


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


t3lib_extMgm::addStaticFile($_EXTKEY,"pi1/static/","Content Teaser");
?>




"Christian Wolff" <Chris at connye.com> schrieb im Newsbeitrag 
news:mailman.137518.1176322524.21067.typo3-german at lists.netfielders.de...
> Hallo Manfred,
> sind die felder noch in der
> ext_tables.php ordenlich definiert?
> und wird auch die funktion aufgerufen:
> t3lib_extMgm::addToAllTCAtypes('---hier werte für dein plugin---');
>
> damit das in jedem element typ zu sehen ist?
> gruss chris
>
> Am Wed, 11 Apr 2007 20:23:01 +0200 hat Widmann, Manfred <mpunktw at gmx.net> 
> geschrieben:
>
>> Hi NG!
>>
>> Ich habe mit dem Kickstarter eine Extension erstellt, die der tt_content
>> zwei Felder (teaseme & teasertext) hinzufügt. Leider kann ich die im 
>> Backend
>> nicht warten - ich bekomme im üblichen Formular einfach keine 
>> Eingabefelder
>> für teasme und teasertext... was mach' ich falsch?
>>
>> lg
>> Manfred
>>
>>
>>
>
>
>
> -- 
> christian wolff - multimedia producer
> telefon: (030) 789 134 99
> handy: 0179 49 44 758
> email: chris at connye.com
> adresse: schenkendorfstr. 6 - 10965 berlin 




More information about the TYPO3-german mailing list