I need your help.
I try to call a plugin controller HTML view inside a floatbox but that shows an error.
Can you helpme please? I have attached an image of the error
This is the code that I am using: $fileUp = file_get_contents(OW::getPluginManager()->getPlugin('GROUPFILES')->getCtrlViewDir() . 'action_add.html');
$this->setTemplate($fileUp);
$script = " $(document).ready(function(){
$('ul.ow_box_toolbar li a').attr('id', 'groupfiles_floatbox');
$('a#groupfiles_floatbox').click(function(){
window.groupfilesFloatBox = new OW_FloatBox({\$title:'Some Floatbox Title here', \$contents: '{$fileUp}', width: '550px'});
});
});";
OW::getDocument()->addOnloadScript($script);