[TYPO3-german] BE-Feld nachträglich als RTE Feld definieren

Ralf-Rene Schröder ralf.rene at online.de
Sun Jan 27 13:07:59 CET 2013


Hallo

was ist notwendig um ein Feld nachträglich als RTE Feld zu definieren ?
ich kann leider den Kickstarter wegen diverser Anpassungen dort nicht
mehr benutzen...

in einer anderen tabelle hatte der Kickstarter für ein RTE Feld
folgendes angelegt:
__________________________________________________________________________________________________

in der ext_localconf.php

t3lib_extMgm::addPageTSConfig('
RTE.config.tx_myext_mytable.bodytext {
  hidePStyleItems = H1, H6
  proc.exitHTMLparser_db=1
  proc.exitHTMLparser_db {
    keepNonMatchedTags=1
    tags.font.allowedAttribs= color
    tags.font.rmTagIfNoAttrib = 1
    tags.font.nesting = global
  }
}
');

und in der tca.php für das table tx_myext_mytable

'bodytext' => array (		
	'exclude' => 0,		
	'label' => 'LLL:EXT:myext/locallang_db.xml:tx_myext_mytable.bodytext',		
	'config' => array (
		'type' => 'text',
		'cols' => '30',
		'rows' => '5',
		'wizards' => array(
			'_PADDING' => 2,
			'RTE' => array(
				'notNewRecords' => 1,
				'RTEonly'       => 1,
				'type'          => 'script',
				'title'         => 'Full...',
				'icon'          => 'wizard_rte2.gif',
				'script'        => 'wizard_rte.php',
			),
		),
	)
),
__________________________________________________________________________________________________

wenn ich aber nun entsprechendes (nur eben angepasst auf eine andere
Tabelle und Feld) einfüge, dann klappt das nicht... WAS FEHLT NOCH ?
__________________________________________________________________________________________________

in der ext_localconf.php

t3lib_extMgm::addPageTSConfig('
RTE.config.tx_myext_myothertable.description {
  hidePStyleItems = H1, H6
  proc.exitHTMLparser_db=1
  proc.exitHTMLparser_db {
    keepNonMatchedTags=1
    tags.font.allowedAttribs= color
    tags.font.rmTagIfNoAttrib = 1
    tags.font.nesting = global
  }
}
');

und in der tca.php für das table tx_myext_myothertable

'description' => array (		
	'exclude' => 0,		
	'label' =>
'LLL:EXT:myext/locallang_db.xml:tx_myext_myothertable.description',		
	'config' => array (
		'type' => 'text',
		'cols' => '30',
		'rows' => '5',
		'wizards' => array(
			'_PADDING' => 2,
			'RTE' => array(
				'notNewRecords' => 1,
				'RTEonly'       => 1,
				'type'          => 'script',
				'title'         => 'Full...',
				'icon'          => 'wizard_rte2.gif',
				'script'        => 'wizard_rte.php',
			),
		),
	)
),
__________________________________________________________________________________________________

-- 
image[FORMAT] - Ralf-René Schröder
http://image-format.eu ... Wir geben Ihrem Image das richtige Format
http://if-20.com  ... YAML templates for TYPO3


More information about the TYPO3-german mailing list