Ahh..you didn't say that. Seems to me all you need to do is put the
pages in ..er.. pages and make sure that the pages route is last in
the routes.php file. That way everything that has a home will find it
and the rest falls through to pages. No lookup for page names needed.
You might even be able to do a Router::connect('/*',......

I've done something like this before, I just can't access the code.

On Jan 19, 9:50 pm, Gonzalo Servat <[email protected]> wrote:
> On Mon, Jan 19, 2009 at 6:48 PM, leo <[email protected]> wrote:
>
> > Are your static pages html or PHP? Either way, why can't you just put
> > them in webroot? They only need to be inside the cake structure if
> > they're cake files.
>
> That means I can't take advantage of the CakePHP helpers and such ...
> besides, if they go in webroot, that means the layout won't apply so I think
> they need to go through CakePHP in my case.
>
> - Gonzalo
--~--~---------~--~----~------------~-------~--~----~
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