Re: [TYPO3] tt_news first paragraph

2008-08-24 Thread Dan Osipov
I would suggest making an extension, and making use of the TCE hook, so that every time a news record is saved, the first paragraph is isolated and wrapped. This is probably more complicated than what you were hoping for, but I can't see another way... Suggested code: function processDatam

Re: [TYPO3] tt_news first paragraph

2008-08-24 Thread Xavier Perseguers
Hi Tyler, > But it won't work in IE6 I just gave a possible answer. Lee did not say the target browser might be IE6 ;-) -- Xavier Perseguers http://xavier.perseguers.ch/en ___ TYPO3-english mailing list TYPO3-english@lists.netfielders.de http://lists

Re: [TYPO3] tt_news first paragraph

2008-08-24 Thread Tyler Kraft
But it won't work in IE6 Xavier Perseguers wrote: > Hi, > > Lee M. Childress wrote: >> 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 t

Re: [TYPO3] tt_news first paragraph

2008-08-23 Thread Xavier Perseguers
Hi, Lee M. Childress wrote: > 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.: > > This i

[TYPO3] tt_news first paragraph

2008-08-23 Thread Lee M. Childress
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.: This is the first paragraph of the news story. Th