<iframe src=<?php
//calling the search form
$this->renderPartial('_note');
?>>
in _note:
<?php
echo 'hii';
/*
* To change this template, choose Tools | Templates
* and open the template in the editor.
*/
?>
but error is comming :
Error 404
The system is unable to find the requested action "hii".
plz find out the solution
read about iframe src attribute
Hey man,
Don’t use the renderPartial method, Need to use createAbsoluteUrl().
eg. -
Yii::app()->createAbsoluteUrl('site/your_page');