if CURRENT_USER not admin
I'd sure appreciate someone telling me how to format this if
if $CURRENT_USER not admin
thanks, I was trying to have a member modify a system field (hidden) that I guess can't happen.
then I tried this with a pending field and it does not work either
<?php if ($CURRENT_USER['isAdmin'] == '0')<input type="hidden" name="pending" value="1" /><?php endif; ?>
I want to have any listing that is saved by a member to be set to pending.
Any advise would be great.
Can you test that?
<?php $CMS_USER = getCurrentUserFromCMS(); ?>
<?php if($CMS_USER['isAdmin'] == '0'): ?>
<input type="hidden" name="pending" value="1" />
<?php endif; ?>