Hi
I am trying to build a TV where the customer can select if he wants a divided front page with tho equal columns.
But this is teasing me. I create a tv
input type: checkbox
rightcolumn=={{test}}||none=={{none}}
default value: none
two chunks will be fired in the tv test and none
test chunk has the following inserted
<div id="rightcontent">[*ekstrakolonne*]</div>
[*ekstrakolonne*] connects to richtextfield so the customer can type info in the right column
None chunk has just the text nocol which i have then inserted in a div class.
So when the document has selected none which is the default value the chunk will insert itself as a class on a div and create a div that is 100 % and if its not inserted the div will be 50%.
My problem is that i need some If/statement. The chunk will insert itself no matter what i do and this is of course the meaning with placing a chunk in the template
Hope this makes sense to somebody. and that somebody can help me