[TYPO3-UG Dutch] veldtype aanpassen van extensie

Pim Broens - Redkiwi broens at redkiwi.nl
Wed Nov 19 16:14:01 CET 2008


-----Oorspronkelijk bericht-----
Van: typo3-ug-dutch-bounces at lists.netfielders.de
[mailto:typo3-ug-dutch-bounces at lists.netfielders.de] Namens Stephan de
Bruin
Verzonden: woensdag 19 november 2008 16:01
Aan: typo3-ug-dutch at lists.netfielders.de
Onderwerp: Re: [TYPO3-UG Dutch] veldtype aanpassen van extensie

Okay,
heb nu in tca.php het volgende staan:

"description" => Array (		
	"exclude" => 1,		
	"label" => 
"LLL:EXT:rtgdictionary/locallang_db.xml:tx_rtgdictionary_terms.descripti
on", 
	"config" => Array (
		"type" => "text",
		"cols" => "40",	
		"rows" => "6",
		"wizards" => Array(
			"_PADDING" => 4,
			"RTE" => Array(
				"notNewRecords" => 1,
				"RTEonly" => 1,
				"type" => "script",
				"title" =>
"LLL:EXT:cms/locallang_ttc.php:bodytext.W.RTE",
				"icon" => "wizard_rte2.gif",
				"script" => "wizard_rte.php",
			),
		),
	)
),

maar in welke class (en waar?) moet ik nu (return 
$this->pi_RTEcssText($this->internal['currentRow'][$fN]);) neerzetten?

------------------------------------------------------------------------
---

Hoi Stephan,

De $this->pi_RTEcssText(); is een functie die wordt gebruikt door TYPO3
om je tekst uit je database te renderen alsof het gemaakt is in een RTE.
De RTE slaat namelijk niet de HTML op zoals je normaal gesproken
gebruikt, maar dat converteert hij naar iets anders om in een later
stadium dit weer terug te renderen.

De plek van je $this->pi_RTEcssText(); is dus compleet afhankelijk waar
het veld in je class van je extensie wordt gebruikt.
Het gaat dan waarschijnlijk om de file
pi1/class.tx_rtgdictionary_pi1.php in de extensie map.

succes 

Met vriendelijke groet,

Pim Broens

 
 


010-2819633
Contact informatie Redkiwi	 
	
Laatste nieuws
	 Recent opgeleverd


More information about the TYPO3-UG-dutch mailing list