[TYPO3-english] modifying formatting of content records in normal column on load

Tyler Kraft tyler.kraft at netefficiency.co.uk
Wed Nov 12 15:27:12 CET 2008

that just a different rendering of the content items ina specific column 
and in a different way - use TSref and TSOB.

Jonas Kaiser wrote:
> Dear list,
> I am wondering whether there is a simple way (and I would like to avoid a
> news system like tt_news ...) to adjust the way that content records from
> the normal column are rendered when placed into the body.
> Currently I am getting them with
> ## TS code
> subparts.content-primary < styles.content.get
> ## TS code end
> which wraps the header for the article into a h1 class="..." tag and the
> text into a p class="bodytext".
> What I would like is to also load the created or last edited date, place it
> between the header and the text and put some span class="article-date"
> around it. to format it from the style sheet.
> I guess I have to tweak my TS?
> If there is a solution, is it easy to extend it to the other columns in the
> database (though probably with different formatting)?
> cheers
> Jonas

More information about the TYPO3-english mailing list