You mentioned that you copied the PagesController. Are these other
sections dealing with static files, also?

On Tue, Jan 20, 2009 at 6:38 PM, gkc <[email protected]> wrote:
>
> I fixed it.  I just changed the names of the controllers.
>
> On Jan 20, 3:10 pm, gkc <[email protected]> wrote:
>> Sorry, I didnt think I would need to since I just copied everything
>> exactly like the pages controller/ route.
>>
>> Here are the routes:
>> ********************************************************************************************************
>>         Router::connect('/', array('controller' => 'pages', 'action' =>
>> 'display', 'home'));
>> /**
>>  * ...and connect the rest of 'Pages' controller's urls.
>>  */
>>         Router::connect('/pages/*', array('controller' => 'pages', 'action'
>> => 'display'));
>>
>>         Router::connect('/about-section/', array('controller'=>
>> 'about_sections','action' => 'display','default'));
>>         Router::connect('/about-section/*', array('controller'=>
>> 'about_sections','action' => 'display'));
>>
>>         Router::connect('/media/', array('controller' => 'medias', 'action'
>> => 'display', 'default'));
>>         Router::connect('/media/*', array('controller' => 'medias', 'action'
>> => 'display'));
>> ********************************************************************************************************
>>
>> As I noted in my previous post, the first route I created works just
>> fine.  Its the second one that I am having problems with.
>>
>> gkc
>>
>> On Jan 20, 2:52 pm, brian <[email protected]> wrote:
>>
>> > Just as Cake isn't clairvoyant, neither are we[1]. At the very least,
>> > post the routes you created.
>>
>> > [1] ok, speaking for myself.
>>
>> > On Tue, Jan 20, 2009 at 3:18 PM, gkc <[email protected]> wrote:
>>
>> > > I started off withe the default pages controller and route and used it
>> > > to create another controller/ route.  Everything is working just
>> > > fine.  I then did it again to make a third controller/ route but this
>> > > time I am getting 'Missing View' errors.  All the controllers code and
>> > > routes are the same, except for making the appropriate name changes to
>> > > stay in line with the cake naming conventions.  The first new
>> > > controller/ route is working fine and loading all the proper views.
>> > > The second controller is not working and returning 'Missing Views'
>> > > even though the views are in the proper place.
>>
>> > > Another question I have is how do make a word like 'technology' to
>> > > remain consistent with the cake naming conventions.  Do I make it
>> > > 'technologies' or 'technologys.'
>>
>> > > Any help would be greatly appreciated.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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