Welcome Guest, Not a member yet? Register   Sign In
Roles Navigation and Permissions
#2

[eluser]CroNiX[/eluser]
Let the menu subview determine who sees what based on current logged in level/permissions.

Code:
//Show dashboard link if admin
<?php if ($this->user->is('admin'): ?>
<a class="current" href="&lt;?php echo base_url(); ?&gt;dashboard" data-toggle="tooltip" data-placement="right" title="" data-original-title="Dashboard"> <i class="fa fa-home"></i> </a>
&lt;?php endif; ?&gt;


Messages In This Thread
Roles Navigation and Permissions - by El Forum - 02-20-2014, 09:06 AM
Roles Navigation and Permissions - by El Forum - 02-20-2014, 11:38 AM
Roles Navigation and Permissions - by El Forum - 02-20-2014, 12:19 PM
Roles Navigation and Permissions - by El Forum - 02-20-2014, 12:46 PM
Roles Navigation and Permissions - by El Forum - 02-21-2014, 07:00 AM



Theme © iAndrew 2016 - Forum software by © MyBB