[TYPO3] Disable one TS element depend on parameters of another

maaboo maaboo at gmail.com
Wed Sep 24 16:58:23 CEST 2008


I have the following:

lib.newsholder = COA
lib.newsholder {
    10 = TEXT
    10 {
    value = Page 1
    typolink.parameter = 35
    wrap = <div class="l1h">|</div>
    }
    11 < plugin.tt_news
    11 {
        _LOCAL_LANG.ru.latestHeader = Header 1
        pid_list = 43
    }
    12 < plugin.tt_news
    12 {
        _LOCAL_LANG.ru.latestHeader = Header 2
        pid_list = 42
    }
...
}

10 generates common header for 11-19 plugin.tt_news elements. Every element
also contains itself header.

How i can disable to output 10 if 11 has no news? Or may be you have better
recipe to make headers?

-- 
with respect, MaaBoo
ICQ UIN: 22694713


More information about the TYPO3-english mailing list