Hi Chris,

>  OK, I have done the pages_controller work and the views/pages/home.ctp
>  is there and working but still not producing data and I still can't
>  figure out what the proper syntax is.
>
>  I can understand that the router code is saying that the display
>  function in restaurants_controller.php should be used to fetch the
>  data, but I'm still at a loss to how to actually get the data.  I want
>  to call the query method of the model, does that make it
>  Restaurants.query('select * from table') ?

I think you need to step out of ModelBaker and go over the cakephp
docs, specifically the small Blog tutorial.

http://book.cakephp.org/view/219/Blog

hth

jon

-- 

jon bennett
w: http://www.jben.net/
iChat (AIM): jbendotnet Skype: jon-bennett

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