embedded view of model


I would like to hear how you recommend making an embedded view of model inside the view of another model.

Ex: In my view of my site model I would like to show a view of my user model, so that I can use it in a pop up.

I hope I’m making myself clear. Thanks

Regards Mads

Check this function: http://www.yiiframework.com/doc/api/1.1/CController#renderPartial-detail

Ah yes! This looks as what I need! Thanks.