[[!getPage?
&element=`bloX`
&packageName=`clients`
&packagename=`clients`
&classname=`Request`
&where=`{"type:=":"2"}`
&tpls=`bloxouter:tplRequestOuter||row:tplRequest`
&limit = `5`
&debug=`0`
]]
[[!+page.nav]]This question has been answered by Bruno17. See the first response.
[[!getPage?
&element=`migxLoopCollection`
&packageName=`clients`
&classname=`Request`
&where=`{"type:=":"2"}`
&tpl=`tplRequest`
&wrapperTpl=`tplRequestOuter`
&limit = `5`
&debug=`0`
]]
[[!+page.nav]]I would use migxLoopCollection like that:
[[!getPage? &element=`migxLoopCollection` &packageName=`clients` &classname=`Request` &where=`{"type:=":"2"}` &tpl=`tplRequest` &wrapperTpl=`tplRequestOuter` &limit = `5` &debug=`0` ]] [[!+page.nav]]
I was not aware of the fact that migxLoopCollection also supports a wrapperTpl. I will try this. Thanks.
Quote from: egraaf at Sep 16, 2014, 06:26 AMI was not aware of the fact that migxLoopCollection also supports a wrapperTpl. I will try this. Thanks.
since 2.8.1
see changelog:
http://modx.com/extras/package/migx