Restricting content based on custom contact and FEU

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
rancov
Forum Members
Forum Members
Posts: 18
Joined: Sun Aug 06, 2006 5:28 pm

Restricting content based on custom contact and FEU

Post 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.
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am
Location: Arizona

Re: Restricting content based on custom contact and FEU

Post 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}...
Post Reply

Return to “Modules/Add-Ons”