Erik Reagan

Add an {absolute_row_count} variable

Have you considered adding a variable to Matrix similar to EE's absolute_count? I've encountered a few projects where it would come in handy and I've just ended up using PHP to get the job done. Consider someone using the offset parameter but still needing the count of the result rather than the count from the offset.


{matrix_field offset="2"}
My current {row_count} is 1 but my {absolute_row_count} is actually 3
{/matrix_field}


Thoughts?
7 people like
this idea
+1
Reply