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 {[...]