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

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -