Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if(Yii::app()->user->checkAccess('admin')): ?>
- <?php echo "you should see this if you're an admin"; ?>
- <?php
- $this->pageTitle = "Buggy Man POrtal - Admin Panel";
- $this->breadcrumbs=array(
- 'Admin Home'=>array('index'),
- 'Manage',
- );
- //WHY IS THIS MENU PART NOT APPEARING AT MY UI ?
- $this->menu=array(
- array('label'=>'List Post', 'url'=>array('index')),
- array('label'=>'Create Post', 'url'=>array('create')),
- );
- ?>
- <?php else:
- echo "you're not an admin lol";
- ?>
- <?php endif; ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement