[Typo3] no connection to tt_news?
Rupert Germann
rupi at gmx.li
Fri May 13 19:52:58 CEST 2005
Hi Jane
Jane Larsen wrote:
[...]
> But I have a template (in html) that's a cpoy of the original new
> tt_news template. There I made a link for my own css file.
css files that are linked in the tt_news html template will be ignored
because tt_news takes always only a part of the template and _never_ the
header section. The css template reference in the header is only for local
testing.
correct would be to link the css file in the page object in your ts-template
(setup):
page.includeCSS {
file1 = fileadmin/template/other_styles.css
file2 = fileadmin/template/tt_news_v2_main_styles.css
}
> If testet
> offline those two work fine (the HTML is styled according to the css
> file), but when online no styling is applied...
see above
> If I include default
> styles I get the green boxes, and if I try this in my setup TS:
>
> plugin.tt_news {
> _CSS_DEFAULT_STYLE (
> /* example styles for the pagebrowser*/
> H2 {font-size: 10px;}
> .tx-ttnews-browsebox TD { font-size: 10px; }
> .tx-ttnews-browsebox-strong,
> .tx-ttnews-browsebox-SCell { font-weight: bold; }
> .tx-ttnews-browsebox-SCell { background-color: #EEE; }
> )
> }
> no style is applied either
are the styles above added to the page header ?
if not - maybe you added the lines above at the wrong place.
plugin.tt_news {
_CSS_DEFAULT_STYLE ( ...
should be in the setup field of the template record.
> I tried this too:
>
> plugin.tt_news {
> _LOCAL_LANG.dk {
> latestHeader = Seneste Nyt!
> more = [Læs mere...]
> }
> }
>
> with no luck...
if you set danish as default language then something like
... _LOCAL_LANG.default {...
could work.
hth & greets
rupi
More information about the TYPO3-english
mailing list