[TYPO3-ttnews] <p> tag in tt_news text field

Oliver Rowlands oliver at liquidlight.co.uk
Tue Mar 6 21:28:10 CET 2007


Hi Red,

Can you try adding the following TS at the end of your template TS setup:

plugin.tt_news {
   general_stdWrap {
     parseFunc < tt_content.text.20.parseFunc
   }
}

By default the text field in tt_news inherits the 'parseFunc' from the 
global RTE, which renders the text strings stored in the database into 
HTML formatted content (ie: converts newlines into <p> tags and converts 
   <link> tags into <a> tags).

The TS I've included above is the default TS setup used by tt_news but 
it's possible that you might have overridden and broken it somewhere.

Once you have added the TS can you have a look for the value of:

plugin.tt_news.general_stdWrap.parseFunc

in the TS object browser?

Regards,

Oliver

Redvald Hjulstad wrote:
> I can confirm that both links and paragraph rendering is working in 
> normal content elements. BUT, links are not working in the calendar (cal 
> extension)
> 
> I have tried to find the plugin.tt:news.general_stdWrap.parseFunc but 
> can only find plugin.tt_news.general_stdWrap. Where should I look for 
> the parsFunc?
> 
> Thank you!
> 
> red
> 
> 
> 
> 
> 
> Oliver Rowlands skrev:
>> Hi Red,
>>
>> Sounds like there might be something wrong with your 
>> plugin.tt_news.general_stdWrap.parseFunc
>>
>> Can you confirm that link and paragraph rendering is working in normal 
>> content elements?
>>
>> Alsa can you go into your TypoScript Object Browser on the page your 
>> news articles are displayed and give me the value of:
>>
>> plugin.tt_news.general_stdWrap.parseFunc
>>
>> Regards,
>>
>> Oliver


-- 
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