My goal is to have a tick box on the back end of each page. The tick box determines whether a column is shown with a Twitter widget.
At the end of the page template I have:
Code: Select all
{content_module module="ECB2" field="checkbox" block="showtwitter" label="Show Twitter column" default_value="0" description="Tick to show the Twitter column on the right hand side of this page"}How do I then "read" this variable?
I tried displaying {$showtwitter} in the page template - nothing.
I also tried adding assign="test1" to the original code but got nothing when I tested for $test1.
Tried the module help but it doesn't explain how to access the variables.
What I want to do in the template is something like this:
{if $showtwitter}
<!-- extra content to show here -->
{/if}
Thanks!



