Live example: http://www.3hndesigns.com/about_us.htm
-- Baz L Day In The Life of Baz http://www.LifeOfBaz.com On 7/30/07, Baz <[EMAIL PROTECTED]> wrote: > > With the Pages controller I find that routes don't really help me the way > I want. This is what I usually have to do: > > RewriteRule ^(.*)htm$ pages/$1 [L] > > so that I can then access pages like: > example.com/about_us.htm -> example.com/pages/about_us/ > > Works like a dream, if you don't have any other HTM pages anywhere else. > > -- > Baz L > Day In The Life of Baz > http://www.LifeOfBaz.com > > On 7/30/07, housebolt < [EMAIL PROTECTED]> wrote: > > > > > > http://manual.cakephp.org/chapter/configuration - See section 3 > > "Routes Configuration" > > > > Also checkout the "pages" folder in /app/views/pages/. Anything you > > put in there can be accessed from the browser at > > > > /pages/your_page/ (which is equal to /app/views/pages/your_page.thtml > > [or .ctp]) > > > > and anything you create there can be routed in your routes.php file > > (in app/config/routes.php) > > > > > > On Jul 30, 3:13 pm, " [EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > Quick question that I can't seem to find an answer for. The home page > > > of my site needs to have a lot of dynamic content generated on it. Is > > > there a way to generate this content in some kind of controller? Or > > > is there a way to redirect users to the index of another controller/ > > > view from the home page? > > > > > > Thanks! > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---