Render a view in homepage

Hi,

I am just learning following the main guide.

I create a module CRUD with Gii -> Anagrafiche. OK

Now I’d like to move (or duplicate) the CREATE view in homepage: I wrote in the view of VIEWS/SITE/index.php:

<?php $this->renderPartial(’/@app/views/ANAGRAFICHE/_form’, array(‘model’=>$model)); ?>

but it does not work. I can not understand if the render would be in Controller of Anagrafiche or in the VIEW of the main site

Many thanks

Stefano

you need to move the Anagrafiche/createAction logic to Site/indexAction