[TYPO3-english] tt_news tuning

maaboo maaboo at gmail.com
Wed Nov 19 12:42:03 CET 2008


news.ts:

[globalVar = TSFE:id = 14]
lib.newsholder = COA
lib.newsholder {
	5 = TEXT
	5 {
	wrap = <dt></dt><dd class="lcol">|
	}
	10 = TEXT
	10 {
	value = Раздел 1
	typolink.parameter = 35
	wrap = <span class="l1h">|</span>
	}
	11 < plugin.tt_news
	11 {
		_LOCAL_LANG.ru.latestHeader = Подраздел 1
		pid_list = 43
		typolink.parameter = 43
	}
	12 < plugin.tt_news
	12 {
		_LOCAL_LANG.ru.latestHeader = Подраздел 2
		pid_list = 42
	}
	28 = TEXT
	28 {
	wrap = |</dd>
	}

	29 = TEXT
	29 {
	wrap = <dd class="rcol">|
	}
	30 = TEXT
	30 {
	value = Раздел 2
	typolink.parameter = 51
	wrap = <span class="l1h">|</span>
	}
	31 < plugin.tt_news
	31 {
		_LOCAL_LANG.ru.latestHeader = Подраздел 3
		pid_list = 56
		}
	32 < plugin.tt_news
	32 {
		_LOCAL_LANG.ru.latestHeader = Подраздел 4
		pid_list = 55
		}
	49 = TEXT
	49 {
	wrap = |</dd><div style="float:none;clear:both"></div>
	}	
[global]

It works well and renders news in two columns from two sections. I
want to use this layout on another page, so i did:

news2lvl.ts with [globalVar = TSFE:id = 35], but nothing is rendered!.
(may be the clue in global closing before?)

There ar two included files in next order:
news.ts
news2lvl.ts

What's wrong?


-- 
with respect, Grigory
ICQ UIN: 22694713


More information about the TYPO3-english mailing list