I have a problem with Playa in that the total_related_entries and count values aren't displaying properly.
Here's the code:
{exp:weblog:entries weblog="pages" limit="1"}
{pages-gallery-images}
count = {count}
total = {total_related_entries}
{/pages-gallery-images}
{/exp:weblog:entries}
In the example above, count is always equal to 1 and the total_related_entries tag doesn't get parsed at all - it just outputs as {total_related_entries}.
I'm using Playa v3.0.9 and this is coming from a Matrix field (v2.0.8). FieldFrame is v1.4.3.
Any ideas?
-
Where is the Matrix field in that code?
-
-
-
-
Got it.
Matrix uses {row_count} rather than {count}, and {total_rows} rather than {total_related_entries}.
http://pixelandtonic.com/matrix/docs/... -
-
That'll be it then - getting my matrix and playa tags confused! Sorry to bother you
-
Loading Profile...


Twitter,
Facebook, or email.

EMPLOYEE

