How do I make part of the submit form available to author and above user levels
From JReviews Documentation
Revision as of 18:29, 6 January 2010 by Jreviews (Talk | contribs) (Created page with 'Modify the theme file of the submit form: *<span style="color: blue">\com_jreviews\jreviews\views\themes\default\listings\create_form.thtml</span> And add this code around the …')
Modify the theme file of the submit form:
- \com_jreviews\jreviews\views\themes\default\listings\create_form.thtml
And add this code around the content that needs to be hidden from guests and registered users:
<?php if($User->gid >= 19) : ?> // everything here will be visible to authors and above <?php endif;?>