[TYPO3-english] sorting content element problem

Bernhard Kraft kraftb at think-open.at
Sun Dec 13 16:09:19 CET 2009


Matias Coca wrote:

> yes I am using TV...
> 
>> Then you can't use "sorting" because TV completely ignores it.

You could use my extension "kb_tv_cont_slide". It allows you to retrieve 
the values of a TV field usually for inheriting content elemnts.


tt_content.menu.20.3.table >
tt_content.menu.20.3.select >
tt_content.menu.20.3 = RECORDS
tt_content.menu.20.3 {	
	source {
		postUserFunc = tx_kbtvcontslide_pi1->main
			# Change this parameter to conform to your DS
		postUserFunc.field = templavoila_content_elements_field
		postUserFunc.table = tt_content
	}
	tables = tt_content
	conf.tt_content < .renderObj

		# Check if sectionIndex!=0
	conf.tt_content.if.isTrue.field = sectionIndex
}

Of course you would have to install kb_tv_cont_slide first if this is no 
problem for you.

greets,
Bernhard


More information about the TYPO3-english mailing list