I have a page block with downloadable content that I only wnt to display if user is logged in. IN the default template I have
{if $customcontent_loggedin > 0}
Welcome {$customcontent_loginname}
{else}
You are not authorized to view this data
{/if}
{content}
When I am not logged in, it still displays the block with the links. Any thoughts anyone. Page cache is definitely turned off.
Restricting content based on custom contact and FEU
Re: Restricting content based on custom contact and FEU
If you mean this... {content} it needs to be inside where the welcome is, you know {if} they are logged in they see this part, you just have Welcome {$customcontent_loginname}...