Very cool, I almost have it working now but I have this in my tpl:
[[!getImageList? &tvname=`nestedmigx` &tpl=`@CODE: <div class="[[+idx]]">[[+fieldb]] <ul> [[!getImageList? &tvname=`nestedmigx` &tpl=`[[+images]]` ]] </ul> </div> `]]
I renders like this:
So all is working but how do I get every image of the nested MIGX to get rendered in a image tag one by one?
It is now just all JSON for the item...
[[getImageList? &tvname=`CONTENTBLOCKSMIGX` &tpl=`contentBoxTpl`]]
[[getImageList? &value=`[[+tabs]]` &tpl=`tabcontentTpl`]]
<div id="example-3-tab-[[+idx]]" class="tabs-panel3"> [[+content]]
I set this up the other day for creating nested items for multiple boxes on the page and having tabbable content in each one.
theOuterOuterChunk
[[getImageList? &tvname=`CONTENTBLOCKSMIGX` &tpl=`contentBoxTpl`]]
Inside the ContentBoxTpl above
The snippet used is
[[getImageList? &value=`[[+tabs]]` &tpl=`tabcontentTpl`]]
inside tabcontentTpl
</div><div id="example-3-tab-[[+idx]]" class="tabs-panel3"> [[+content]]
nice done nadakbar!
you don't need to create a TV for the second inside MIGX - TV
you can just use inputTVtype: 'migx'
and fill the configs-fields with the configurations-name for the second MIGX-TV
also the image-TV is not needed, inputTVtype: 'image' should work
This may be the most rushed video in existence but i thought i would make a quick screencast for setting up the backend manager for nestable Migx grids.
Apologies for the jumping around from CMP page to CMP page. I was doing it off the top of my head and remembering things as i went through it but the end result worked.
So if followed carefully it should work for everyone else too.
https://www.youtube.com/watch?v=CWpQjG03WBw&feature=youtu.be
I didn't touch the front end aspect of getting the nestable items to display on the site in the screencast but i guess this has already been resolved above.
have a nice day devving![]()
Nad