Sunday, October 26, 2008

user name on default.ctp

Haya everybody.

I am kind of new on cake. I managed to put auth. to work on my project
but now I am trying to show the user name in the default.ctp. I
created a variable like this $nomeUsuarioLogado = $this->Auth-
>user('name');
in my appController but I cannot see the variable in my default.ctp.

Can anyone point me the right direction please

Thanks

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

No comments: