Hey Bruno,
I've tried to use The following output Modifier called keyval with the code:
$a = json_decode($input, true);
return ($a[$options]=="" ? ' ' : $a[$options]);
and this is my migx snippet call:
[[!migx? &configs=`mygallery` &tpl=`@CODE:<a href="[[+extended:keyval=`url`]]" ><img src="[[+image]]" alt="[[+extended:keyval=`tags`]]" /></a><h3>[[+title]]</h3></h3><p>[[+description]]</p>` &sortConfig=`[{"sortby":"RAND()"}]` &where=`{"published":"1"}`]]
My output code looks like:
<a href=" " ><img src="initiativesClosed.jpg" alt=" " /></a><h3>boom</h3></h3><p>tell me you love me</p>
The extended fields with the output modifiers are blank. Why is that?
The fields are definitely saved in the extended colum in the database.
Thanks in advance,
Noah