Page 1 of 1

Restricting content based on custom contact and FEU

Posted: Tue Jul 15, 2008 3:36 pm
by rancov
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.

Re: Restricting content based on custom contact and FEU

Posted: Tue Jul 15, 2008 7:40 pm
by Dr.CSS
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}...