Thanks for the response, but this still doesn't answer my question of how to include this variable in a $htmlhelper link, mainly need to know the syntax. thanks so much
On Apr 26, 10:36 pm, NegoBlack® <paulomoacir.jun...@gmail.com> wrote: > I use to do this on my app_controller.php: > > public function beforeFilter(){ > > if ($this->Auth->user()){ > $this->set("userInfo", $this->Auth->user()) > } > > } > > Then I can use this var on my views... > > On Apr 25, 7:57 pm, Teedaddy <bretteegar...@gmail.com> wrote: > > > Could someone be so kind to tell me the easiest way to pass the > > current logged in "Auth" user id in $htmlhelper links? > > > Thank you so much, just learning all this MVC method and have been > > through Auth tutorials numerous times but I am missing this somehow. > > > Bret --~--~---------~--~----~------------~-------~--~----~ 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---