[TYPO3-dev] configure rte in tca.php

Thomas Mammitzsch typo at pure.kicks-ass.net
Tue Jun 26 18:32:15 CEST 2007


hi,

i want to use the RTE with only a few fields for an extension, but no 
matter which buttons i configure in tca, all buttons of the rte appear 
in the backend form. This is my tca setup:

"description" => Array (		
			"exclude" => 1,		
			"label" => 
"LLL:EXT:user_contacts/locallang_db.xml:user_contacts_persons.description",	
			"defaultExtras" => 
"richtext[cut|copy|paste|bold|orderedlist|unorderedlist]:rte_transform[flag=rte_enabled|mode=ts_css]",
			"config" => Array (
				"type" => "text",
				"cols" => "30",
				"rows" => "5",
				"wizards" => Array(
					"_PADDING" => 2,
					"RTE" => Array(
						"notNewRecords" => 1,
						"RTEonly" => 1,
						"type" => "script",
						"title" => "Full screen Rich Text Editing|Formatteret redigering i 
hele vinduet",
						"icon" => "wizard_rte2.gif",
						"script" => "wizard_rte.php",
					),
				),
			)
		),
),

	"types" => Array (
		"0" => Array("showitem" => "l18n_parent, l18n_diffsource, hidden;;1, 
firstname, lastname, email, telefon, telefax, image, 
description;;;richtext[cut|copy|paste|bold|orderedlist|unorderedlist]:rte_transform[mode=ts_css]")
	),




More information about the TYPO3-dev mailing list