Hi can anyone guide me the way to list resources ( Products in my case ) published in one particular month of the year or between two particular dates ? I see, it would be somewhere near by sortby / sortByTV or publishedon properties but am unable to achieve the results … below is my current getPage Call.
[[getPage?
&element=`getResources`
&parents=`[[*id]]`
&limit=`6`
&includeContent=`1`
&includeTVs=`1`
&processTVs=`1`
&showHidden=`1`
&sortby=`publishedon`
&tvFilters=`[[tv.publishedon]]<<[[!getDate:date=`%Y-%m`]]`
&sortdir=`DESC`
&tpl=`news-list`
&totalVar=`total`
&pagePrevTpl=`<li class="pagination-prev"><a href="[[+href]]"><span class="zn_icon" data-zniconfam="glyphicons_halflingsregular" data-zn_icon=""></span></a></li>`
&pageNextTpl=`<li class="pagination-next"><a href="[[+href]]"><span class="zn_icon" data-zniconfam="glyphicons_halflingsregular" data-zn_icon=""></span></a></li>`
&pageActiveTpl=`<li class="active" class="page-[[+pageNo]]"><span style="display: inline-block;">[[+pageNo]]</span></li>`
&pageNavTpl=`<li><a href="[[+href]]"><span>[[+pageNo]]</span></a></li>`
&pageNavOuterTpl=`[[+prev]][[+pages]][[+next]]`
]]
Also, pagination is not working in the above last call.
Thanks,
Ronak