[TYPO3] "totally new Content Element type" extensions

John Nicholas typo3user at mobosplash.com
Mon Feb 13 22:05:52 CET 2006


I am trying to write an extension that is top level content type like 
the "text" or "text with image" content type.

in the extension kickstarter I clicked the frontend plug in option that 
reads as follows:

"Add as a totally new Content Element type
You can also take the plunge into a whole new content element type! 
Scarry eh?"

The kickstarter built a shell that has worked fine but I can't figure 
out how to control what the editing view fields are. When I click to 
edit it I get the same form as if it was the "header" type.

The ext_tables.php file has this:

t3lib_div::loadTCA("tt_content");
$TCA["tt_content"]["types"][$_EXTKEY."_pi1"]["showitem"]="CType;;4;button;1-1-1, 
header;;3;;2-2-2";

which looks like I could just add new fields to the string to add more 
fields similar to the way the tca controls list style plugins but it 
doesn't seem to have any effect.

Any advice is appreciated.



More information about the TYPO3-english mailing list