How to make part of theme visible only to administrators
From JReviews Documentation
(Redirected from How to make part of theme visible only to administrators?)
Use this code:
JReviews 2
<?php if($this->Access->isAdmin()):?> // Everything here will be available only to admins <?php endif;?>
JReviews 3
<?php if($this->auth->admin):?> // Everything here will be available only to admins <?php endif;?>