2013-05-15 2 views

답변

1

다음과 같은 방법으로 할 수 있습니다. 모든 컨트롤러에서 새 공백 작업을 만들고 볼 수 있습니다. 그런 다음 위젯을이 작업의보기로 렌더링하십시오. 그 후 smoothbox 모달 창을 호출하여 위젯이 포함 된보기로 필요한 동작을 표시합니다. 아래 링크를 클릭하여 smoothbox를 표시하는 방법의 예 :

<?php echo $this->htmlLink(array(
           'route'=>'default', 
           'module'=>'activity', 
           'controller'=>'index', 
           'action'=>'viewcomment', 
           'custom_param'=>$param, 
            'format'=>'smoothbox' 
          ), 
          $this->translate('Comment'), 
          array('class'=>'smoothbox',)) 
?> 
관련 문제