kashifkhan112 Posted September 14, 2013 Share Posted September 14, 2013 (edited) we can apply this fancybox/iframe in any module Steps 1- Add this line in public function __construct() $this->context->controller->addJQueryPlugin('fancybox'); 2- Add this code in tpl file where you want to apply iframe to any href/link <a href="YOUR LINK?content_only=1" class="iframe">CLICK ME</a><script type="text/javascript">$('a.iframe').fancybox();</script> Hopefully it will help to all my freelancer friends. Edited September 14, 2013 by kashifkhan112 (see edit history) 3 Link to comment Share on other sites More sharing options...
vekia Posted September 14, 2013 Share Posted September 14, 2013 you're talking here about front office or about back office.. or maybe about both of them? Link to comment Share on other sites More sharing options...
kashifkhan112 Posted September 14, 2013 Author Share Posted September 14, 2013 I am talking about front office. I have tested it in front office. Link to comment Share on other sites More sharing options...
houzhongqiu Posted September 14, 2013 Share Posted September 14, 2013 what it is useful? Do you have screenshot? Link to comment Share on other sites More sharing options...
vekia Posted September 14, 2013 Share Posted September 14, 2013 hmm it's a fancybox library and its implementation, you can use it in any module you want. it mean that you can use fancybox on each page in your store. awesome 1 Link to comment Share on other sites More sharing options...
kashifkhan112 Posted September 14, 2013 Author Share Posted September 14, 2013 hmm it's a fancybox library and its implementation, you can use it in any module you want. it mean that you can use fancybox on each page in your store. awesome Yes right. Link to comment Share on other sites More sharing options...
kashifkhan112 Posted September 14, 2013 Author Share Posted September 14, 2013 what it is useful? Do you have screenshot? Link to comment Share on other sites More sharing options...
Recommended Posts