Hi All,

A newbie question, which i'm sure is incredibly simple!

I've downloaded 1.2 and taken a simple static web site and ported it
to cake, by using the provided PagesController and a view for each
static page. I've also created a new Model "Articles", for which i've
set up a model, view and controller and can populate content using
scaffolding.

I want to include snippets of content from a couple of articles on my
homepage - this doesn't currently have a controller, it's just static
content in /app/views/pages/home.ctp. I'd like to keep the rest of the
static content in home.ctp

How do I go about loading a couple of specific articles, so I can
render article content in /app/views/pages/home.ctp?


--~--~---------~--~----~------------~-------~--~----~
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