[TYPO3-english] Trying to understand the "select" property better

Ernesto Domato edomat at gmail.com
Tue Oct 18 15:55:27 CEST 2011


Hi,

Given this TS:

lib.test_content = CONTENT
lib.test_content.table = pages
lib.test_content.select.uidInList = 5
lib.test_content.renderObj = TEXT
lib.test_content.renderObj.field = title

I thought that I should have the "title" of page with uid 5 on
test_content variable, I'm wrong?. Or:

lib.test_content = CONTENT
lib.test_content.table = pages
lib.test_content.select.where = title LIKE 'Prod%'
lib.test_content.renderObj = TEXT
lib.test_content.renderObj.field = title

Should bring me all the titles that begins with the "Prod" string?

Because it's not working in that way :-(

Thanks for all.
Ernesto


More information about the TYPO3-english mailing list