[TYPO3-dev] Problem with fluid viewhelper f:cObject
Stefan Padberg
post at bergische-webschmiede.de
Tue Apr 19 14:57:14 CEST 2016
Hi,
TYPO3 7.6.4
In my Fluid Template file a put:
<f:cObject typoscriptObjectPath="lib.test" data="10" />
This one works:
lib.test = COA
lib.test.10 = LOAD_REGISTER
lib.test.10.colPos.cObject = TEXT
lib.test.10.colPos.cObject.value.current = 1
lib.test.20 = TEXT
lib.test.20.data = REGISTER:colPos
lib.test.20.wrap = <p>colPos: | </p>
lib.test.30 = RESTORE_REGISTER
This one doesn't work:
lib.test = COA
lib.test.10 = LOAD_REGISTER
lib.test.10.colPos.cObject = TEXT
lib.test.10.colPos.cObject.value.current = 1
lib.test.20 = CONTENT
lib.test.20.table = tt_content
lib.test.20.select.pidInList = this
lib.test.20.select.orderBy = sorting
lib.test.20.where.data = REGISTER:colPos
lib.test.20.where.intVal = 1
lib.test.20.where.wrap = colPos=|
lib.test.30 = RESTORE_REGISTER
The lastBuildQuery shows to me that the colpos register is not
transferred to the CONTENT object. But according to TSRef it should be
transferred:
https://docs.typo3.org/typo3cms/TyposcriptReference/ContentObjects/LoadRegister/Index.html#example
Is something wrong with my TypoScript?
Or is it a bug somewhere in TYPO3?
Regards
Stefan
--
Bergische Webschmiede
Dipl.-Ing. Stefan Padberg
TYPO3-Integrator und Webprogrammierer
:: Borner Str. 18 - 42349 Wuppertal
:: +49 202 97648355
:: +49 173 9219845
:: post at bergische-webschmiede.de
:: http://www.bergische-webschmiede.de
More information about the TYPO3-dev
mailing list