http://www.avatarfinancial.com/pages/cake/
Quote:

"I needed to create several pages that didn't use any models and
contained static data inside the default layout. My first thought was
to create a controller for these pages and define an action for each
static page I needed. However, this solution seemed tedious and would
make it difficult to quickly add new pages. Enter the pages controller
- simply create a view inside the views/pages/ folder and it'll
automatically be rendered in /pages. For example, if I created
/views/pages/matt.thtml it would be accessible via
http://www.example.com/pages/matt                   "

--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to