I have the FEU Module installed to make 1 page on my site only show certain info for logged in people.
The user can login fine but the code below only seems to work sometimes, i.e. after logging in it still says 'Please login above to view the contents of this page'
The page i have this code on is NOT cachable. It's possible multiple (max 5) users login concurrently with the same username
Code: Select all
<p class="userLogin">{cms_module module=FrontEndUsers}</p>
{if $customcontent_loggedin == 1}
<p><a href="uploads/files.zip">Click here to access all student files</a></p>
{else}
<p><strong>Please login above to view the contents of this page</strong></p>
{/if}
Thanks