[TYPO3-ttnews] Delte RTEhtml tables cells <p> tag in tt_news

Oliver Rowlands oliver at liquidlight.co.uk
Wed Nov 28 20:16:09 CET 2007


Hi Xatu,

Did you check that the <p> tags are not actually hardcoded in the HTML 
source code of your tt_news text field?

Also using the TS Object Browser could you give me the value the 
following setting on your SINGLE article page:

plugin.tt_news.general_stdWrap.parseFunc

Best regaards,

Oliver

Xatu Cans wrote:
> Thanks for your answer Oliver, I tried what you say and it only works in 
> text content element, but in tt_news items the <p> isn't removed.
> 
> "Oliver Rowlands" <oliver at liquidlight.co.uk> escribió en el mensaje 
> news:mailman.1.1195917243.2368.typo3-project-tt-news at lists.netfielders.de...
>> Hi Xatu,
>>
>> Adding the following TS setup removes the <p> elements inside table cells 
>> for me:
>>
>> lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default >
>> lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default.stdWrap.parseFunc 
>> =< lib.parseFunc
>>
>> Make sure you have cleared your cache, also you might want to check the 
>> source code of your news articles to make sure the <p> elements have not 
>> actually been hardcoded there, IE6 has a bad habit of doing this.
>>
>> Best regards,
>>
>> Oliver
>>
>> Xatu Cans wrote:
>>> Hi, I'm trying to delete the <p> tag  generated  automatically inside 
>>> tables cell. I've wrote this code in the TS setup of my page:
>>>
>>> lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default >
>>> lib.parseFunc_RTE.externalBlocks.table.HTMLtableCells.default.stdWrap.parseFunc 
>>> =< lib.parseFunc
>>>
>>> it works perfectly, but when I insert a table with RTEhtml inside 
>>> tt_news, the <p> reappears. How can I delete it?
>>
>> -- 
>> Oliver Rowlands
>> :: Liquid Light ::
>>
>> E - oliver at liquidlight.co.uk
>> W - http://www.liquidlight.co.uk
>>
>> T - 00 44 (0)845 6 58 88 35
>> F - 00 44 (0)845 6 58 44 35 
> 
> 


-- 
Oliver Rowlands
:: Liquid Light ::

E - oliver at liquidlight.co.uk
W - http://www.liquidlight.co.uk

T - 00 44 (0)845 6 58 88 35
F - 00 44 (0)845 6 58 44 35


More information about the TYPO3-project-tt-news mailing list