Thankis jitka,

"$this->viewPath" was what I have been searching for and couldn't
find. I guess my hack with viewRender() is obsolete now that I know of
that one.

On Mar 16, 10:55 pm, "jitka" <[EMAIL PROTECTED]> wrote:
> 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 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