[TYPO3] tt_news first paragraph

Lee M. Childress leemchildress at hotmail.com
Sat Aug 23 21:04:28 CEST 2008


Before I go hacking away at the actual tt_news code, I am sure there is a better way to do this:
 
When displaying a single view in tt_news I would like only the first paragraph of the news body to have a different class tag than the rest, i.e.:
 
<p class="bodytext_first">This is the first paragraph of the news story.</p>
<p class="bodytext">This is the second and remaining paragraphs.</p>
 
Any decent way to do this without altering the code?


More information about the TYPO3-english mailing list