[[!migxLoopCollection?
&packageName=`endorsements`
&classname=`Endorsement`
&tpl=`tpl.Endorsement`
&where=`{"published":"1"}`
]]<li> <div class="c-endorsement"> <p>TEST STRING</p> <p class="c-endorsement__name">[[+name]]</p> <div class="c-endorsement__text">[[+endorsement]]</div> </div> </li>
This question has been answered by patrickappelman. See the first response.
Steps I have taken:
- Removed the '&where' property, with the notion that 'published' was irritating the script. Nothing.
- Added and removed the '&limit' parameter. Nothing.
[[!migxLoopCollection?
&packageName=`endorsements`
&classname=`Endorsement`
&prefix=`modx_custom_`
&tpl=`tpl.Endorsement`
&where=`{"published":"1"}`
]]