Gwoo answered my question on IRC.

Here it is for anyone interested (was sort of obvious after he stated it).

For static sub pages just create a subdirectory in your /app/views/pages directory.

So if I wanted a page with url http://example.com/pages/about/company

The path for that would be /app/views/pages/about/company.thtml

Kind of a basic question but hope it helps someone else.

On 8/3/06, John Zimmerman [gmail] <[EMAIL PROTECTED]> wrote:
In the code for the pages controller there are variables there for subpages.

Is anyone using static subpages with the pages controller?

I browsed around for documentation about it, but came up empty.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake PHP" 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
-~----------~----~----~----~------~----~------~--~---

Reply via email to