HI,
Here's the trick I can't figure out how do achieve it:
1/ I have migx tv running ok containing a list of images (logos) + some descriptions and url. I use this basically to display a nice logos list.
This migx TV is associated to only one page that I use as a common pot to pickup any common content I need from whatever page.
2/
For one specific page I list its sub-pages to present a list doing a getressource.
here's a row tpl for this list:
....<li class="accordion-group brand-item well" id="accordeon[[+idx]]">
<div class="accordion-heading">
<h3> <a class="accordion-toggle " data-toggle="collapse" data-parent="#accordeon-brands" href="#tiroir-[[+idx]]">
[[+longtitle:default=`[[+pagetitle]]`]] <span class="caret"></span></a></h3>
[[-getImageList?
&where=`{"Title":"[[*pagetitle]]"}`
&tvname=`BrandsLogos`
&tpl=`PanelLogosTpl`
&docid=`[[BabelTranslation? &contextKey=`[[*context_key]]` &resourceId=`27` ]]`
]]
</div>
<div id="tiroir-[[+idx]]" class="accordion-body collapse">
<div class="accordion-inner">
[[+content]]
</div>
</div>
</li>....
What I want is for each of those sub pages got by Getresource, (= for each Getresource row) is to get a corresponding image in the Migx. (the sub-pages pagetitle are eq to the Title of each Migx tv row).
here's the migx tv grid:
[
{"caption":"Infos", "fields": [
{"field":"title_logo","caption":"Titre"},
{"field":"alt_logo","caption":"Details Logo","inputTV":"details_logo"},
{"field":"url_logo","caption":"URL","inputTV":"logo_url"}
]},
{"caption":"Logo", "fields":[
{"field":"le_logo","caption":"logo","inputTV":"img_logo"}
]}
]
Thank you