Answer the question
In order to leave comments, you need to log in
Yii frame and render?
Maybe I don't understand something. What is the point of the problem.
Let there be a tree of pages, it is drawn in layout in column2, suppose. When you click on a tree link, one or another page should be displayed. Pages are not necessarily made in a framework. Now most of them are just php pages. Accordingly, when I click on the link, I get $content and display frameset.php, which lies in site\pages
Inside this file
$page = Page::model()->findByPk($page)->link;
echo '
<iframe id="ifr" src="' . $page . '" align="center">
</iframe>';
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question