I changed my default.ctp in layouts to just echo content so <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http:// www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta content="text/html; charset=utf-8" http-equiv= "Content-Type"/> <title>Prize Cove</title> </head> <body> <?php if ($session->check('Message.flash')): $session->flash(); endif; ?> <?php e($content_for_layout); ?> </body> </html>
And just made the controllers and models Controller <? class GeneralsController extends AppController { var $name = 'Generals'; function index() { } } ?> Model <? class General extends AppModel { var $name = 'General'; } ?> I then made a folder called general, and put index.ctp in it that just says prizecove in process but when I go to www.prizecove.com/general/index it says page not found but if I got to prizecove.com it just displays default.ctp in layout. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---