if you need use a view of the same controller try with: $this->render('name_of_view');
but remember only if you need use a view of the controller if you want render a element or a view in of other controller try this $this->viewPath = 'route_of_view_folder'; $this->render('name_of_view'); ex: $this->viewPath = 'elements'.DS.'header'; $this->render('navigation); or $this->viewPath = 'posts'; $this->render('comment'); On 4/23/08, Neveldo <[EMAIL PROTECTED]> wrote: > > > ... but I've now another problem :p > > Is it possible to load a view which is not the default view of the > action ? > > I try by using $this->view or $this->load->view, but it seems to > doesn't work :( > > thank ! > > > > -- Axel --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---