Saturday, September 24, 2011

Re: Model Data on the home.ctp

So it looks like the $uses attribute will do the trick. But, are those
models that I enable via the attribute available to all of my pages in
the pages directory? Say for example, I created an about.ctp. Would
the model be available in that about view as well?

Charles

On Sep 24, 11:22 am, Charles Blackwell <charlesblackwell...@gmail.com>
wrote:
> How can I display data on the home.ctp template? Do I use the set
> method on the pages controller?

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.


To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: