Is it possible to use a variable within a variable?
For instance, in this token, &mvt:subcats[18]:code; I would like to use a variable for the number (in this case 18).
So, is it possible to have it function like: &mvt:subcats[number]:code;
Using toolkit, I created a random number variable and tried using it like this:
<mvt:item name="toolkit" param="vrandom|number|l.all_settings:subcat_count" />
&mvt:subcats[number]:code;
However, no go.
Is there a way to do this?
Thanks.
For instance, in this token, &mvt:subcats[18]:code; I would like to use a variable for the number (in this case 18).
So, is it possible to have it function like: &mvt:subcats[number]:code;
Using toolkit, I created a random number variable and tried using it like this:
<mvt:item name="toolkit" param="vrandom|number|l.all_settings:subcat_count" />
&mvt:subcats[number]:code;
However, no go.
Is there a way to do this?
Thanks.
Comment