Hi there,
What im looking to do is redirect all pages requests
(http://example.com/pages/home http://example.com/pages/contactus etc.)
to a single view. From this view i then intend to dynamically
determine the html content based on the action and other parameters.
I cant figure out how to get CakePHP to always use this basic template
(e.g. basepage.thtml) when displaying a page. Ive tried editing the
pages_controller.php display function to specify a template to avail by
editing the arguments of the render function.
$this->render(join('/', $path), null, 'basepage.thtml');
Anyone have any ideas?
Cheers
James
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---