[Typo3] Problem with dynamic select of page and tt_content
tomas liberio
lord_sino at hotmail.com
Mon Jul 25 17:19:41 CEST 2005
Hello folks,
i've a problem with my dynamic select over page and tt_content. Here is the code:
temp_inhalt_produkte = CONTENT
temp_inhalt_produkte {
table = pages
select {
pidInList = this
orderBy = sorting
begin = TEXT
begin.stdWrap.data = |{GPvar:seite}
#where = LIMIT {GPvar:seite},5
limit = 3
#andWhere = limit 3,5
#andWhere limit {GPvar:seite},5
}
renderObj = COA
renderObj {
2 = LOAD_REGISTER
2.MY_VALUE.field = uid
4 = CONTENT
4 {
table = tt_content
select {
pidInList.data = register:MY_VALUE
orderBy = sorting
where = colPos = 0
max = 1
languageField = sys_language_uid
}
renderObj = COA
renderObj {
1 < tt_content
5 = TEXT
5.value = details
5.typolink.parameter.data = register:MY_VALUE
5.wrap = | <br><br>
}
}
}
}
i don't know how to set the GPvar in the begin tag of ts or in a where syntax of the sql query to set a dynamic select over the page.
At the bottom of the page i've a navigation with additional params which in the following page are shown.
regards,
Tommaso
More information about the TYPO3-english
mailing list