[TYPO3-english] Change HTML code created by Typo3 RTE
Christoph Hermann
hermann at informatik.uni-freiburg.de
Wed Dec 21 11:25:12 CET 2011
On Wednesday, 21. December 2011 10:10:39 Iban Cardona i Subiela wrote:
Hello,
> First, I must say that I'm still very novice with TypoScript ... and I
> encountered a problem that I can't solve.
>
> When I create a content with images in RTE, the generated HTML code
> looks something like this:
>
> <div class="csc-textpic csc-textpic-intext-right"><div
> style="width:310px;" class="csc-textpic-imagewrap"><div
> style="width:310px;" class="csc-textpic-imagerow"><div
> style="width:310px;" class="csc-textpic-image csc-textpic-firstcol
> csc-textpic-lastcol"><div><img width="310" height="274" border="0"
> alt="" src="typo3temp/pics/48656be78d.jpg"></div><div
> class="csc-textpic-caption"></div></div></div><div style="width:310px;"
> class="csc-textpic-imagerow csc-textpic-imagerow-last"><div
> style="width:310px;" class="csc-textpic-image csc-textpic-firstcol
> csc-textpic-lastcol"><div><img width="310" height="156" border="0"
> alt="" src="typo3temp/pics/0461d76e6f.jpg"></div><div
> class="csc-textpic-caption"></div></div></div></div><div
> class="csc-textpic-text"><p>sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa
> sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa sdsadasd
> aasaa sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa
> sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa sdsadasd aasaa sdsadasd
> aasaa </p></div></div>
>
> My question would be ...
> Can I modify / override some ts code in order to create my tables
> instead of divs with css (because the code above is incompatible with
> Microsoft Outlook) ?
sure.
hava a look at the typoscript browser, especially:
tt_content.stdWrap.*
tt_content.dataWrap
tt_content.prepend
tt_content.textpic.*
tt_content.image.*
cheers
Christoph
--
Christoph Hermann
Institut für Informatik
Georges-Köhler-Allee 51; 79110 Freiburg
Tel: +49 761-203-8171 Fax: +49 761-203-8142
E-Mail: hermann at informatik.uni-freiburg.de
More information about the TYPO3-english
mailing list