What am i doing wrong? (Matrix related) ***Sanity check***
Hi Low,
i need a sanity check because i'm slowly going creazy.
I have a LV Matrix field with 2 cells (1 file, 1 txt). Only the following code in a template
{exp:low_variables:parse var="lv_homepage_slideshow" multiple="yes"}
<ximg src="{file}">
{lv_homepage_slideshow:count}|{count}
{/exp:low_variables:parse}
Results in
<ximg src="zzzzzzzzzzz.jpg">
{lv_homepage_slideshow:count}|{count}
<ximg src="dddddddddd.jpg">
{lv_homepage_slideshow:count}|{count}
<ximg src="eeeeeeeeee.jpg">
{lv_homepage_slideshow:count}|{count}
Was expecting to have at least one count result in like a number.
Could you point me in the direction of the stupid mistake i'm making?
Thanks,
Bas
Replies
Low 2 Jul 2012 23:05
If lv_homepage_slideshow is a Matrix variable, then use all the parameters and variables you would normally use in a Matrix channel field.
So, taking a look at the Matrix docs and say you have a variable called "speakers", the first code example of said docs in a Variable context would be:
...and so on.