Re: How to use a model in views?

2007-04-05 Thread fr3nch13

search this group for 'requestAction' or use the ajax helper.

On Apr 5, 6:37 am, "JuniorCMS" <[EMAIL PROTECTED]> wrote:
> Hi to all,
>
> i need to have a view that use a model or a controller method to load
> some data like news or other.
>
> I'm implementing a simple template system for my cake blog and my be
> one template want to load some data like news and other template want
> to load last read article
>
> What to do?
> Thanks!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---



How to use a model in views?

2007-04-05 Thread JuniorCMS

Hi to all,

i need to have a view that use a model or a controller method to load
some data like news or other.

I'm implementing a simple template system for my cake blog and my be
one template want to load some data like news and other template want
to load last read article

What to do?
Thanks!


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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
-~--~~~~--~~--~--~---