I wasn't refering to that particular problem.

On 26 mrt, 14:54, Stu <[email protected]> wrote:
> You cannot do that from the view, if you need to have information in
> the view you can do this in the controller:
>
> $this->set('variableName',  value);
>
> then by using $variableName in your view.
>
> You can put all your user info in an array and use that in your view.
>
> On Mar 26, 9:43 am, jonas <[email protected]> wrote:
>
> > Hi,
>
> > Let's say I wanted to create a movietrailer website.
> > First thing I would do is create a movie table, controller, model and
> > view.
> > There my movietrailer website is done!
> > But I want to add a user auth system. So I create a users table,
> > controller, model and view.
>
> > But what if I wanted to show something from the users model (some site
> > visiting information) on the movie view ?
>
> > Is this way cake has support for components ?
> > Or can I just do $this->Users->some_method(); from the movie view/
> > controller ?
>
> > Regards
>
> > Jonas
--~--~---------~--~----~------------~-------~--~----~
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