Hi,

I am very new to cakePHP aswell, but I just tried something out which
seems to work. In the beforeFilter of the AppController, I added the
variable the following way:

$this->set('admin', false);

I can now access my $admin in the view without a problem. But as I
said I am very new to cakePHP so maybe a Cake Guru want to comment on
it.

Regards, Luke
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to