In Display.template.php, I wanna say if the user is admin or anything, do something. How can I do that?
I have this, but it's not working.
Code: [Select]
if ($context['user']['is_admin'] )
from Simple Machines Community Forum http://ift.tt/2srEsi4
via IFTTT
No comments:
Post a Comment