[Typo3] Getting rid of <p> alltogether

Amir Mualem amir219 at sbcglobal.net
Fri May 13 22:02:46 CEST 2005


Robert Markula wrote:
> Amir Mualem wrote:
> 
>> I am trying to get rid of the <p> tags around the author name in 
>> tt_news however every time I change and update the wrap value in the 
>> template object browser, the P tag never goes away.  I dont want the p 
>> tag because it makes a new line.
>>
>> How can I get rid of it?
> 
> 
> Hi Amir,
> What have you tried so far?
> You can write this line in your Template TS Setup:
> general_stdWrap.parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag =
> 
> This only removes the <p>-Tag for tt_news elements:
> plugin.tt_news.general_stdWrap.parseFunc.nonTypoTagStdWrap.encapsLines.nonWrappedTag 
> =
> 
> Does it help?
> 
> Ro

No, that does not seem to work... I want to remove the p tag for some 
elements only, like the author name...



More information about the TYPO3-english mailing list