SocialEngine: Display a widget into a modal window using smootbox -
i have widget in group plugin displays groups create button next "create new group" "import group" want button shows me contents of widget in modal window smooth box thank you
you can in way: create new blank action in controller , view it. render widget view of action. after call smoothbox modal window show needed action view contains widget. example of how show smoothbox clicking link below:
<?php echo $this->htmllink(array( 'route'=>'default', 'module'=>'activity', 'controller'=>'index', 'action'=>'viewcomment', 'custom_param'=>$param, 'format'=>'smoothbox' ), $this->translate('comment'), array('class'=>'smoothbox',)) ?>
Comments
Post a Comment