[SOLVED] Showing checkbox field definition in CGBlog
Posted: Thu May 28, 2015 1:11 am
Hi, as always, appreciate any help.
I have added a public checkbox field to CGBlog.
If I print out all the variables, I can see the checkbox (labelled "sponsored" there.
How do I call it in the summary template?
I tried variations on
{if $sponsored =='1'}
{$entry->fields['sponsored']}
do this..
{/if}
but no go.
Again, any help appreciated.
Cheers,
Paul
I have added a public checkbox field to CGBlog.
If I print out all the variables, I can see the checkbox (labelled "sponsored" there.
How do I call it in the summary template?
I tried variations on
{if $sponsored =='1'}
{$entry->fields['sponsored']}
do this..
{/if}
but no go.
Again, any help appreciated.
Cheers,
Paul