[TYPO3-ttnews] [t3-newbie] 2 questions: inheritance and _LOCAL_LANG

maaboo maaboo at gmail.com
Tue Sep 23 16:54:13 CEST 2008


1. I use the following tt_news settings:

/// begin ///
plugin.tt_news {
    templateFile = fileadmin/templates/tt_news.html
    _CSS_DEFAULT_STYLE >
    dontUseBackPid = 1
    useHRDates = 1
    defaultCode = LATEST
    subheader_stdWrap {
        crop = 1000 | ... | 1
        ifEmpty.field = bodytext
    }
}
}
/// end ///

I insert into root page (id=14) COA which consist of several news sources:

/// begin ///
[globalVar = TSFE:id = 14]
lib.newsholder = COA
lib.newsholder {
    10 < plugin.tt_news
    10 {
        code = LATEST
        pid_list = 43

    }
    20 < plugin.tt_news
    20 {
        code = LATEST
        pid_list = 42
    }
}
[global]
/// end ///

The code above shows two news sources from correct pages (42 and 43). But it
doesn't inherit subheader_stdWrap from general settings (and other
settings), but T3 use templateFile (and may be others).

Why? May be i'm doing something wrong fundamentally?

2. Where i can read about _LOCAL_LANG (is it tt_news option or T3 core)? I
need to be sure that _LOCAL_LANG is RU by default. Where i can see it and
set it?

-- 
with respect, MaaBoo
ICQ UIN: 22694713


More information about the TYPO3-project-tt-news mailing list