Right.

On 10/24/2008, teknoid <[EMAIL PROTECTED]> wrote:
>
> Ensure that mod_rewrite is enabled
> AND that AllowOverride is allowed.
>
> On Oct 24, 5:36 pm, thatsgreat2345 <[EMAIL PROTECTED]> wrote:
>> 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
>> towww.prizecove.com/general/indexit says page not found but if I got to
>> prizecove.com it just displays default.ctp in layout.
> >
>


-- 
Xavier A. Mathews
Student/Developer/Web-Master
GG Client Based Tech Support Specialist
Hazel Crest Illinois
[EMAIL PROTECTED]
"Fear of a name, only increases fear of the thing itself."

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to