Does anyone know if there is a way to get either total_results
or an equivalent from a {content}
variable pair within a fluid field? content:count
gives the loop count, but content:total_results
delivers null response… would be tedious to have to run the loop twice just to count the entries.
Thanks in advance for any help with this.
{fluid_content:total_fields}
gives you the total number of fluid fields defined for that channel entry - useful, but not what I’m looking for. Turns out you need {content:total_rows}
- not really documented, but does appear in an example on the Fluid Fields documentation page.
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.