I knew I've seen this before: http://snook.ca/archives/cakephp/static_pages_cakephp12/
Basically, he's overriding the Error handler and making it check for views without controllers. -- Baz L Web Development 2.0 http://WebDevelopment2.com/ On Feb 12, 2008 9:48 AM, Chris Hartjes <[EMAIL PROTECTED]> wrote: > > On Feb 12, 2008 10:45 AM, cronet <[EMAIL PROTECTED]> wrote: > > > > Hi, > > > > is there a possibility to create views without a controller ? > > > > e.g. I have a view directory "news". I want to display all views > > automatically without the controller function! > > If someone request http://domain.com/news/abc it should render > > abc.ctp (but without crating the controller function). > > > > Is this possible? > > You might want to investigate the use of custom routing to do what you > want. However, you cannot have a View without a Controller to render > it. > > > -- > Chris Hartjes > Internet Loudmouth > Motto for 2008: "Moving from herding elephants to handling snakes..." > @TheKeyBoard: http://www.littlehart.net/atthekeyboard > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
