I try to count all resources in parent 43 with month number lower than 7 (july).
Modx Revo 2.5.0
TV: startDate - Input=date output=default
My call:
[[!getResources?
&limit=`1`
&parents=`43`
&includeTVs=`1`
&processTVs=`1`
&tvPrefix=``
&hideContainers=`1`
&tvFilters=`[[!+startDate:strtotime:date=`%m`:lt=`5`]]`
&totalVar=`totalFirstHalf`
]]
[[+totalFirstHalf]]
But this doesn't work. The tvFilters-setup gives a wrong result.
Any suggestions?
[ed. note: Sylvaticus last edited this post 9 years, 6 months ago.]
I think, thererfor I am! But what I am, and why...?