Hi all, once again, thanks for helping me... i was getting desperate. I fooled around with the definition of the fields in TCA.php of my extension directory and got some progress. If I substituted richtext[*] with richtext[*]:rte_transform[mode=ts] images were transformed correctly, but now what appears as
<p>line1</p> <p>line2</p> <p>line3</p> in the RTE, saves in the database as line1 line2 line3 and ends up showing in the frontend as line1line2line3.... Oliver, I just read your post... more ideas? ;) antonio Antonio Reher wrote: > I'm looking at TCA.php in my extension directory and the problem field > is mentioned twice: > "entradilla_es" => Array ( > "exclude" => 1, > "label" => > "LLL:EXT:safelayer/locallang_db.xml:tx_safelayer_eventos.entradilla_es", > > "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", > ), > ), > ) > ), > > and > > "types" => Array ( > "0" => Array("showitem" => "hidden;;1;;1-1-1, fecha_ini, > fecha_fin, fecha, foto_peq, foto_grande, titulo_es, > entradilla_es;;;richtext[*], cuerpo_es;;;richtext[*], titulo_en, > entradilla_en;;;richtext[*], cuerpo_en;;;richtext[*], aparece_en") > ), > > Does this help at all? > > antonio > > Antonio Reher wrote: > >> Hi again, >> I've done the test and if I input an image via an RTE in a templavoila >> page, no problem. It transforms src to relative, as expected. >> When I do it, however, via any table created via the Extension >> Kickstarter, it replaces the src tag with an absolute address. >> Do you know where I can configure the rte_transform? >> >> I really appreciate your help. >> >> thanks, >> Antonio >> >> Oliver Rowlands wrote: >> >> >>> Hi Antonio, >>> >>> That is indeed the case, try it for yourself by inserting an image >>> inside a standard 'Regular text' content element RTE then comparing it >>> to the actual DB value. >>> >>> Did you create your extension using the Extension Kickstarter? If not >>> make sure the correct 'rte_transform[mode=ts]' configuration option has >>> been set in the TCA type settings. >>> >>> Best regards, >>> >>> Oliver >>> >>> >>> >>> >>>> Hi Oliver: >>>> thanks for your answer. I'm using an RTE in an object of a database >>>> table created in a frontend extension. When I add an image, the src >>>> attribute is absolute, but so is the entry in the database when I save... >>>> Shouldn't it change to a relative reference? >>>> >>>> That's what I understand from the link you posted, where it says: >>>> references to images in <img> tags in the database should be relative >>>> while absolute in the RTE >>>> >>>> Any idea as to what is going on? >>>> >>>> >>>> >>> >>> >>> >> _______________________________________________ >> TYPO3-english mailing list >> TYPO3-english@lists.netfielders.de >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english >> >> > _______________________________________________ > TYPO3-english mailing list > TYPO3-english@lists.netfielders.de > http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english > _______________________________________________ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english