Difference between #1 and #2 of
Database Driven CMenu

Revision #2 has been created by Preacher on Jan 23, 2014, 11:16:20 PM with the memo:

update note
« previous (#1) next (#3) »

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: 8 147 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