Render A Yii Partialview Within A Wordpress Page / Widget

http://www.yiiframework.com/wiki/322/integrating-wordpress-and-yii-still-another-approach-using-yii-as-the-router-controller/

I’ve followed the wiki tutorial above, and now have a Yii application which loads a wordpress application.

I added the following to the urlManager rules so that the wordpress site would load when the site homepage was requested.


'rules'=>array('' => 'wp/index', ... 

I can access the Yii application, e.g. by visitng


http://mysite.com/site

I can access the wordpress application, e.g. by visiting


http://mysite.com

Is anybody able to give a quick and dirty example of something simple like displaying the Yii login form within a wordpress page / widget? or within the wordpress page-yii.php, provide some examples of what would go into the echo $content to display something from Yii?