Difference between #1 and #3 of
Database Driven CMenu

Changes

Title unchanged

Database Driven CMenu

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

Content changed

[...]
foreach($results AS $result)
{

if(yii::app()->user->id){
/
/*This code helps to hide the login menu when logged in.
 
          
Under options for login I set "IsGuest"*/
if(Yii::app()->user->isGuest<>1 & $result['options']<>'IsGuest')
{
$permissions = 1;
}
else {
[...]
0 0
4 followers
Viewed: 7 832 times
Version: 1.1
Category: Tutorials
Tags:
Written by: Preacher
Last updated by: CeBe
Created on: Jan 23, 2014
Last updated: 10 years ago
Update Article

Revisions

View all history