I want the view script of one of my controller actions to be rendered inside an iframe in my zend framework application. how it is possible?
2
votes
3 Answers
2
votes
Have a separate action (maybe controller too ...) for the view you want to render inside the iframe ( you'll probably want to play in this action with $this->_helper->layout()->disableLayout();
or maybe change the layout ... depends on what you're trying to achieve ) , then in you're view you want to show the iframe do
<iframe src="you're iframe action uri">
<p>Your browser does not support iframes.</p>
</iframe>
0
votes