[Typo3] Getting rid of <p> alltogether
Amir Mualem
amir219 at sbcglobal.net
Fri May 13 22:04:47 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
ACTUALLY, it worked! I only did the first line you gave me, which does
not work, but I tried the second and its perfect. However like I said, I
dont want to remove all the p tags from everything, just specific parts
of the news item like the author...
More information about the TYPO3-english
mailing list