[TYPO3] Wrap the content in RTE (htmlArea RTE)

Tyler Kraft headhunterxiii at yahoo.ca
Tue Sep 4 15:41:05 CEST 2007


Hi,

and if you need it just on one page you can use either an extension 
template on that page (and all subpages) or a condition
[globalVar = TSFE:id=XX]
tt_content.text.20.wrap = <div class="ce-body">|</div>
[global]

Ty


Uschi Renziehausen wrote:
> Hi Brian
> 
> Brian wrote:
>> Hello all. I didn't see in any of the documentation how to do this and 
>> wasn't able to figure it out from the examples they gave but 
>> essentially what I am looking to do is on a specific page, wrap all 
>> the content coming from the RTE around a div tag. I'm assuming I need 
>> to place some code in the TSconfig for that page but I am not sure 
>> what I need to put in there.
> 
> I think, this line of code in the setup of your template will do:
> 
> tt_content.text.20.wrap = <div class="ce-body">|</div>
> 
> regards, uschi


More information about the TYPO3-english mailing list