I want to renderPartial a view from modules. Actual directory structure is protected/modules/staff/views/myplacedeals/create.php is the file that needs to be rendered in protected/views/places/view.php The problem is that i get exception if I put
nothing from above works.
CException : PlacesController cannot find the requested view
Rawatz and Ciss helped but i was not able to make it work.
with this i also have a confusion that when it comes to renderPartial’s first argument it says that works like getViewFile. Now conditions for view file returning is
Question is what ever you give in first parameter getViewFile would search for given view in following order
absolute view within a module if fails next
absolute view within the application if fails next
aliased view if fails next