How to make part of theme visible only to registered users
From JReviews Documentation
Revision as of 19:11, 6 January 2010 by Jreviews (Talk | contribs) (Created page with 'Use this code in the theme files: <source lang="php"> <?php if($this->_user->id == 0):?> Register to View This Content <?php else:?> Content shown to registered users <?php …')
Use this code in the theme files:
<?php if($this->_user->id == 0):?> Register to View This Content <?php else:?> Content shown to registered users <?php endif;?>