Hi,
I am trying to get this <mvt item> to work with a variable:
<mvt:item name="readytheme" param="productlisting( 'js-carousel-1' )" />
EXAMPLE:
<mvt:item name="toolkit" param="random|nrandom|4" />
<mvt:if expr="g.nrandom GT 0">
<mvt:item name="readytheme" param="productlisting( 'js-carousel-&mvte:global:nrandom;' )" />
<br>
</mvt:if>
However, no luck. It seems the &mvte:global:nrandom; part of the equation isn't being 'picked up" by Miva although there is a value for it and my script file is set to allow js-carousel-1 through 4.
I also tried &mvta:global:nrandom; however, same result.
Thanks
I am trying to get this <mvt item> to work with a variable:
<mvt:item name="readytheme" param="productlisting( 'js-carousel-1' )" />
EXAMPLE:
<mvt:item name="toolkit" param="random|nrandom|4" />
<mvt:if expr="g.nrandom GT 0">
<mvt:item name="readytheme" param="productlisting( 'js-carousel-&mvte:global:nrandom;' )" />
<br>
</mvt:if>
However, no luck. It seems the &mvte:global:nrandom; part of the equation isn't being 'picked up" by Miva although there is a value for it and my script file is set to allow js-carousel-1 through 4.
I also tried &mvta:global:nrandom; however, same result.
Thanks
Comment