Hello,
I'm trying to make an image gallery using MIGX.
So, I have created the first TV ->
- name: imageTV
- input type : image
- template access - none
And then the second TV ->
1. name: images
2. input type : migx
3. form tabx:
[
{"caption":"Image", "fields":[
{"field":"image","caption":"Image","inputTV":"imageTV"}
]}
]
4. template access - imageTemplate
Then the first chunk ->
1. name: imageChunk
2. HTML:
<li>
<img src="[[+image]]" alt="" class="image" />
</li>
Then the second chunk ->
1. name: all_Images
2. HTML:
<ul>
[[!getImageList?
&tvname=`images`
&tpl=`imageChunk`
]]
</ul>
And finally the template (name : imageTemplate) with only this code
, which works fine.
But if I create a new document using the same template and where I have one TV extra ( also an image, name: main_image ), the MIGX uses that image instead of all the images I added. I cleared the catch, but no luck. And if I remove template access from the TV (main_image), it is also working and showing the slideshow of only that one image.
What am I doing wrong ?
Thank you
[ed. note: vucko2405 last edited this post 13 years, 5 months ago.]