Why is this code showing the content block input on both admin pages 'Home' and 'Tables' ? Logically I would think it should only show on 'Tables' ?
It only shows the content block data on the 'Tables' page on the front end?
Thanks.
Code: Select all
{if $page_alias == 'home'}
<div class="makepledge">
<a href="contact">View Committee list</a>
<a href="pledge" class="last">Make a pledge now</a>
<div class="clear"></div>
</div>
{elseif $page_alias == 'Tables'}
<div class="makepledge">
<a href="pledge" class="last">Download booking form</a>
<div class="clear"></div>
</div>
{content block='Schedule of events'}
{/if}
I have CMSMS 1.11