We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Add-ons
Using MODX Add-ons
Search
MIGXdb question: How can I count the results of a migxLoopCollection call?
793 Posts
ottogal
Reply #1,
11 years, 8 months ago
See title.
5,888 Posts
Bruno17
Reply #2,
11 years, 8 months ago
there is the totalVar - placeholder, by default it is:
[[+total]]
you can change that with the property, if you run in conficts with other snippets like getResources
&totalVar = `mytotal`
then it would be
[[+mytotal]]
-------------------------------
you can buy me a beer, if you like MIGX
http://webcmsolutions.de/migx.html
Thanks!
793 Posts
ottogal
Reply #3,
11 years, 8 months ago
Thanks again, Bruno!