I am trying to receive translated fields via
getImageList INSIDE a
pdoResources call.
I am using linguaPdoTools from @Bruno17.
The Problem: In the myGetImageListTpl the value of the MIGX fields do not get translated, the default language is always displayed. Example field: "[[+myField]]"
pdoResources call:
[[!pdoResources?
&parents=`19`
&depth=`0`
&tpl=`myPdoTpl`
&includeContent=`1`
&sortby=`menuindex`
&sortdir=`ASC`
&limit=`0`
&showUnpublished=`1`
&showHidden=`1`
&tvPrefix=``
&includeTVs=`lang_published,myMigxTV`
&where=`{"TVlang_published.value":"1"}`
]]
myPdoTpl content:
[[!getImageList?
&tvname=`myMigxTV`
&tpl=`myGetImageListTpl`
&limit=`0`
&docid=`[[+id]]`
]]
myGetImageListTpl content:
to get the [[+myField]] value i have also tried:
<li>[[!lingua.getValue? &id=`[[+id]]` &field=`myField`]]</li>
<li>[[!lingua.getValue? &id=`[[+id]]` &field=`[[+myField]]`]]</li>
<li>[[!lingua.getValue? &id=`[[+id]]` &field=`[[+migx.title]]`]]</li>
and so on... nothing works.
Any ideas?