You are right, I've been given tasks to modify an open source web application which are based on cakephp framework. I know a bit about php, but still can't manage to get my head on to cakephp. I'll try the link you have given and review again the whole manual.. thanks again for the advices!!
On Tue, Feb 22, 2011 at 1:16 PM, kdubya <kenwinans@winanstech.com> wrote:
Based on the (very small) snippet of code you posted, the view should
be placed in the /app/views/committees directory and the file should
be named setpages.ctp.
The layout will have the $content_for_layout in it. Look in /app/views/
layouts. It may be a file called default.ctp (but maybe not). When the
page is rendered, the contents of the setpages.ctp file will be
inserted in the layout at the position of $content_for_layout.
Since it seems you are trying to modify someone else's CakePHP
application, you may not have spent enough time with the tutorial in
the Manual. This is a mistake. I highly recommend you go through the
tutorial BEFORE trying to modify existing CakePHP code. Go to:
http://book.cakephp.org/#!/view/1528/Blog
Good luck,
Ken
--
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
--
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:
Post a Comment