Wednesday, November 26, 2008

Re: Getting started with themes and static files

For static pages, just add them to views/pages/

Name them with a .ctp extension

You should be able to reach those pages by simply going to
yourdomain.com/pages/staticpagename and it'll wrap that content in the
default layout.

- James


On Nov 26, 4:14 pm, Arthur Pemberton <pem...@gmail.com> wrote:
> I'm just looking into CakePHP for a small website I need to build
> (mostly static pages, but some logic with persistent data).
>
> The screencasts and tutorials I have looked through so far provide
> good starting information, but not much on making use of CakePHPs
> themeing engine, and how it deals with static HTML files. Ideally, my
> HTML files would also pass through the theming engine.
>
> Just looking for links to reference/howto material.
>
> Thank you.
--~--~---------~--~----~------------~-------~--~----~
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 cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: