2010-11-23 2 views

답변

2

iframe 내부에서 렌더링하려는보기에 별도의 작업 (컨트롤러 일 수도 있습니다 ...)이 있습니다 (이 작업을 $this->_helper->layout()->disableLayout();으로 실행하거나 레이아웃을 변경할 수도 있습니다 ... 당신은, 당신있는 거보기에 당신은 적절한없는 Doctype 지원 iframe을 다음

  • <iframe src="you're iframe action uri"> 
        <p>Your browser does not support iframes.</p> 
    </iframe> 
    
  • 0

    같은

    가 생각/컨트롤러 /보기/설정하려면 iframe src에 설정하면 고급 JS 컨트롤 페이지에서 브라우저로 iframe을.

    0
    1. 를 설정 않는 iframe을 보여주고 싶은) 달성하기 위해 노력하고

    보기 :

    <iframe src="<?= $this->url(array(
        'module'=>'yourmodule', 
        'controller'=>'yourcontroller', 
        'action'=>'youraction'), 
        'default', true); ?> "> 
    
        <?= $this->render('/path/to/your/view/youraction.phtml'); ?> 
    </iframe> 
    
    관련 문제