[Typo3] tt_news date

Miroslav Monkevic miroslavm at centras.lt
Thu Oct 13 11:47:32 CEST 2005


Hi,

and what if date has to be shown on some pages and not shown on others?
Maintaining many templates is also ugly :).
To my mind more elegant solution would be:

plugin.tt_news.displaySingle.date_stdWrap.if.isTrue = 0

Regards.
> Hi,
>
> Sorry but this is the ugly method. When you update this extension you 
> must search again that part and modify it.
>
> Nice one:
> Use template for the tt_news. if you didn't use one already. (anyhow you 
> use the default one).
>
> Copy the file tt_news_v2_template.html from <typo3 
> folder>/typo3conf/ext/tt_news/pi to another place (I put that file in 
> template/scripts), rename it and use it.
>
> To use it put this line in your SETUP:
> plugin.tt_news {
>       templateFile = fileadmin/template/scripts/tt_news.html
> }
> (make the necessary changes).
>
> After this you can modify the template how you want.
> - to delete the date and time search in your new template the fields:
> ###NEWS_DATE###
> ###NEWS_TIME###
> and delete them.
>
> I think I was very clearly.
>
>
>   

-- 
Miroslav




More information about the TYPO3-english mailing list