Jeremy Burns
Class Outfit
On 28 Apr 2011, at 16:42, varai wrote:
Yes, I had already gone through the Blog tutorial. But that doesn't
have a static page (just to display info). What I'm trying to do is
similar to contents of about page.
I tried creating a missing_controller.ctp with no contents as below:
<?php
class Missing_Controller extends AppController {
}
?>
and i'm not getting any errors now.
thanks. :)
On Apr 27, 3:24 pm, Jeremy Burns | Class Outfit
<jeremybu...@classoutfit.com> wrote:You really need to read the guide...what are you are doing is not utilising Cake at all. Follow the Blog tutorial:http://book.cakephp.org/view/1528/BlogJeremy BurnsClass Outfitjeremybu...@classoutfit.comhttp://www.classoutfit.comOn 27 Apr 2011, at 08:21, varai wrote:Hi,Is it necessary to create a controller for each page in \views\pages\folder?I have this static page Preschool.html. And I'm getting the followingerror message:Missing ControllerError: Preschool.htmlController could not be found.Error: Create the class Preschool.htmlController below in file:merry_flowers\controllers\preschool.html_controller.php<?phpclass Preschool.htmlController extends AppController {var $name = 'Preschool.html';}?>Notice: If you want to customize this error message, createmerry_flowers\views\errors\missing_controller.ctpEven after creating a controller with the above name and contents, i'mstill getting the same Missing Controller message.As the notice says, if I create missing_controller.ctp, what shouldthe contents be?Please help me. I'm clueless....I'm new to cakephp.thank you.--Our newest site for the community: CakePHP Video Tutorialshttp://tv.cakephp.orgCheck out the new CakePHP Questions sitehttp://ask.cakephp.organd help others with their CakePHP related questions.To unsubscribe from this group, send email tocake-php+unsubscribe@googlegroups.com For more options, visit this group athttp://groups.google.com/group/cake-php- Hide quoted text -- Show quoted text -
--
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