DISQUS

DISQUS Hello! MikkoLehtinen.com is using DISQUS, a powerful comment system, to manage its comments. Learn more.

Community Page

Jump to original thread »
Author

Printing stuff based on user’s role

Started by kosmikko · 7 months ago

This way you can print blocks, menus, links, etc. based on role:


[-]View Code PHP<?php global $user;
if (in_array('rolename', $user->roles)) : ?>

print stuff here</p&

... Continue reading »

1 comment

Add New Comment

Returning? Login