Hi all, I'm trying to get a feeling on "CakePHP best practices".
I'd like to show each logged in user his/her full name on every page. So, there must be something like a User-model of the loggedin user available to every view, right? What would be the best way to accomplish this? I was thinking to add a beforeRender to the app_controller which makes the User-model available to every view. Would that be the best/right thing to do? Thanks, Martin -- Martin Schapendonk, [EMAIL PROTECTED] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
