[Typo3] TT_NEWS and CSS

Junior astro at astrodesign.com.br
Fri Nov 18 14:37:58 CET 2005


Thanks Michael.

One more question, how i do to translate any words in tt-news, i make  
this directly in locallang.php file?
Or has another way.

The link below has my news section and some word are in English.
I need this in Portuguese (I'm in Brasil)

http://www.asvemg.org.br/cms/8.html




> Hi
>
>> I don't know how to tell template file to use my css file
>> (adding <link href="css/tt_news_v2_styles.css" rel="stylesheet"
>> type="text/css" /> in template file has no effect)
> That's actually pretty easy. Paste this code into the setup of your
> template
>
> page.includeCSS {
>      file1 = fileadmin/templates/css/tt_news_v2.styles.css
>      # file1.import = 1
> }
>
> This include a CSS-File with the given path to the resource. Notice,
> that the path starts with fileadmin. With second line which is
> commented out you can tell typo3 to not include the css with a link-
> Tag instead using import(). That's sometimes wishable to hide certain
> css files from old browsers (i.e. NN4).
>
> With this code, you can afterwards add another css, calling it file2.
> So you still are flexible.
>
> Regards
> Michael
>
>
> _______________________________________________
> Typo3-english mailing list
> Typo3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english




More information about the TYPO3-english mailing list