Html Template Editing Via Ui


I am new in yii framework work and currently working on CMS. I have no idea how to create CMS in yii. I have few templates which I have to make it editable vai yii framework. I am not able to display static html page inside yii framework view. Can anyone help me how to create editable html page vai UI. If you can suggest extension that will help me lot. How to make container for editable HTML page. In one click html element become editable and edited content will be replaced by existing content. I am trying to open entire html page in div tag via renderpartial but its throwing error message. Plz help me how to handle this situation.

Thank You in advance. Plz reply as fast as possible.