Hi,
I am a newb to Cake. I'm using Ver 2.0.4. I have set up my database,
default layout and created a view for "home". All working and looking
pretty.
But (as I am a newb and out of ignorance) I am having difficulty in
creating new views.
Here is what I have done:
I have my "View/Layouts/default.ctp" file working and set up;
I have created a view called "about.ctp" in a folder called "about" in the
"/View/Pages" folder;
I have created a Controller file called "abouts_controller.php" (made it
plural) in the "app/Controller" folder; and
I have added the following code to my Controller.
<?php
class AboutsController extends AppController {
function about (){
}
}
Right now I get a "Not Found The requested URL /abouts/about was not found
on this server." Error - nothing there.
What am I doing/not doing? What should my hyperlink address be? I have
been reading the documentation, but as a newb finding it difficult to
follow.
Many thanks for any help you can give,
Tim
--
| cellphone: +18579280348 |
| 123 10th Street | San Francisco | CA 94103 |
--
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
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php