Hi,
I am trying to achieve some sort of automation with contentsection feature of readythemes. Basically, my idea is to have a variable and then add some numbers in front of that variable to get content sections in site front. I initially thought it to be something very simple, but now, I'm out of ideas.
What I think it should be :
Doesn't work at all.
Other things that I tried although I knew might not work :
Any ideas how can I do this ?
There is no other issue I can think of as when I try with hard-coding value, it works. When I mvt:eval this, it gives me exactly what I want in the contentsection function.
I am trying to achieve some sort of automation with contentsection feature of readythemes. Basically, my idea is to have a variable and then add some numbers in front of that variable to get content sections in site front. I initially thought it to be something very simple, but now, I'm out of ideas.
What I think it should be :
Code:
<mvt:item name="readytheme" param="contentsection( l.settings:myvar $ '-1' )" />
Other things that I tried although I knew might not work :
Code:
<mvt:item name="readytheme" param="contentsection( '&mvt:myvar;-1' )" /> <mvt:item name="readytheme" param="contentsection( $ l.settings:myvar $ '-1' )" /> <mvt:item name="readytheme" param="contentsection( '' $ l.settings:myvar $ '-1' )" />
There is no other issue I can think of as when I try with hard-coding value, it works. When I mvt:eval this, it gives me exactly what I want in the contentsection function.
Comment