Difference between revisions of "How to make part of theme visible only to administrators"
From JReviews Documentation
(No difference)
|
Revision as of 09:09, 4 December 2009
Use this code:
<?php if($this->Access->isAdmin():?> // Everything here will be available only to admins <?php endif;?>