[ {"header": "Image", "dataIndex": "image", "renderer": "this.renderImage"} ][ {"caption":"Image", "fields":[ {"field":"image","caption":"Image","inputTV":"bg-image"} ]} ]<img src="[[+image]]"/>
<div id="background-image"> [[!getImageList? &tvname=`migx-bg-images` &tpl=`bg-image-tpl` &limit=`1`]] </div>
<div id="background-image"> <img src="/assets/images/beached.jpg"/> </div>
<div id="background-image"></div>
[{"image":"/assets/images/beached.jpg"},{"image":"assets/images/london_roof.jpg"}]
<ul>[[!getImageList? &tvname=`myTV` &tpl=`<li>[[+title]]</li>` &category=`1`]]</ul>
[[!getImageList? &tvname=`myTV` &tpl=`@CODE:<li>[[+title]]</li>` &where=`{"category":"1"}`]][[!getImageList? &tvname=`myTV` &tpl=`@CODE:<li>[[+title]]</li>` &where=`{"category:IN":"1,3,4"}`]][[!getImageList? &tvname=`myTV` &tpl=`@CODE:<li>[[+title]]</li>` &where=`{"category":"1","title":"thistitle"}`]]
This is probably the most superb addon since Wayfinder!
Anyway, I have a suggestion: Maybe there could be a way for us to mark list items in the MIG as ’inactive’ so they don’t specifically have to be removed in order to be excluded from the list.
[
{"caption":"Info", "fields": [
{"field":"title","caption":"Title"},
{"field":"description","caption":"Description","inputTV":"richtext"},
{"field":"active","caption":"Active","inputTV":"active"}
]},
{"caption":"Image", "fields":[
{"field":"image","caption":"Image","inputTV":"image"}
]}
]
[[!getImageList? &tvname=`myTV` &tpl=`@CODE:<li>[[+title]]</li>` &where=`{"active":"1"}`]]
you can try the latest from github with...
This discussion is closed to further replies. Keep calm and carry on.