in any controller's method:

$this->viewPath = 'common';
$this->render('some_view');
//will force cake to look for view some_view.thtml in directory app/
views/common.

$this->viewPath = 'common';
$this->action = 'some_view';
//same as above but without manuall call of render()

Is that what You want? If not then maybe API is Your friend,
especially arguments of method Controller::render()...


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

Reply via email to