Difference between revisions of "How to make part of theme visible only to registered users"
From JReviews Documentation
(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 …') |
(No difference)
|
Revision as of 19:11, 6 January 2010
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;?>