go to your plugin folder and find the activate.php and add this line
$event = new BASE_CLASS_EventCollector('feed.collect_widgets');OW::getEventManager()->trigger($event);
foreach( $event->getData() as $widgetInfo ){ if ($widgetInfo['place'] == 'group') { try { $placeWidget = BOL_ComponentAdminService::getInstance()->addWidgetToPlace($widget, $widgetInfo['place']); BOL_ComponentAdminService::getInstance()->addWidgetToPosition($placeWidget, $widgetInfo['section'], $widgetInfo['order']); } catch ( Exception $e ) {
} }}
please note so far this method has only been tested on the radio plugin and cbox plugin
well without the help of staff who you would think know more than me lol (no offense guys) I was able to finally solve this issue for most plugins but be warned this may not work for every single plugin.
go to your plugin folder and find the activate.php and add this line
$event = new BASE_CLASS_EventCollector('feed.collect_widgets');OW::getEventManager()->trigger($event);
foreach( $event->getData() as $widgetInfo ){ if ($widgetInfo['place'] == 'group') { try { $placeWidget = BOL_ComponentAdminService::getInstance()->addWidgetToPlace($widget, $widgetInfo['place']); BOL_ComponentAdminService::getInstance()->addWidgetToPosition($placeWidget, $widgetInfo['section'], $widgetInfo['order']); } catch ( Exception $e ) {
} }}
please note so far this method has only been tested on the radio plugin and cbox plugin
OW Debug - Warning Message: include(/home/krunch/public_html/ow_system_plugins/base/components/add_new.php) [function.include]: failed to open stream: No such file or directory File: /home/krunch/public_html/ow_core/autoload.php Line: 110
OW Debug - Warning Message: include() [function.include]: Failed opening '/home/krunch/public_html/ow_system_plugins/base/components/add_new.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') File: /home/krunch/public_html/ow_core/autoload.php Line: 110
OW Debug - Warning Message: include(/home/krunch/public_html/ow_system_plugins/base/components/add_new.php) [function.include]: failed to open stream: No such file or directory File: /home/krunch/public_html/ow_core/autoload.php Line: 110
OW Debug - Warning Message: include() [function.include]: Failed opening '/home/krunch/public_html/ow_system_plugins/base/components/add_new.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') File: /home/krunch/public_html/ow_core/autoload.php Line: 110
OW Debug - Warning Message: include(/home/krunch/public_html/ow_system_plugins/base/components/add_new.php) [function.include]: failed to open stream: No such file or directory File: /home/krunch/public_html/ow_core/autoload.php Line: 110
OW Debug - Warning Message: include() [function.include]: Failed opening '/home/krunch/public_html/ow_system_plugins/base/components/add_new.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') File: /home/krunch/public_html/ow_core/autoload.php Line: 110
OW Debug - Warning Message: call_user_func() expects parameter 1 to be a valid callback, class 'BASE_CMP_AddNew' not found File: /home/krunch/public_html/ow_system_plugins/base/components/drag_and_drop_panel.php Line: 67
OW Debug - Warning Message: call_user_func() expects parameter 1 to be a valid callback, class 'BASE_CMP_Add_New' not found File: /home/krunch/public_html/ow_system_plugins/base/components/drag_and_drop_panel.php Line: 67
OW Debug - Exception
Message: Class BASE_CMP_Add_New does not exist File: /home/krunch/public_html/ow_system_plugins/base/components/drag_and_drop_item.php Line: 208 Trace: #0 /home/krunch/public_html/ow_system_plugins/base/components/drag_and_drop_item.php(208): ReflectionClass->__construct('BASE_CMP_Add_Ne...') #1 /home/krunch/public_html/ow_system_plugins/base/components/drag_and_drop_item.php(92): BASE_CMP_DragAndDropItem->checkComponent('BASE_CMP_Add_Ne...') #2 /home/krunch/public_html/ow_system_plugins/base/components/drag_and_drop_entity_panel.php(200): BASE_CMP_DragAndDropItem->setContentComponentClass('BASE_CMP_Add_Ne...') #3 /home/krunch/public_html/ow_smarty/template_c/7042cced80abb84056f9257e6f3cb2e0b9e13038.file.drag_and_drop_entity_panel.html.php(100): BASE_CMP_DragAndDropEntityPanel->tplComponent(Array, Object(Smarty_Internal_Template)) #4 /home/krunch/public_html/ow_libraries/smarty3/sysplugins/smarty_internal_templatebase.php(180): content_557fa03ccd0874_50470742(Object(Smarty_Internal_Template)) #5 /home/krunch/public_html/ow_core/view_renderer.php(101): Smarty_Internal_TemplateBase->fetch('/home/krunch/pu...') #6 /home/krunch/public_html/ow_core/renderable.php(271): OW_ViewRenderer->renderTemplate('/home/krunch/pu...') #7 /home/krunch/public_html/ow_core/component.php(80): OW_Renderable->render() #8 /home/krunch/public_html/ow_system_plugins/base/controllers/component_panel.php(156): OW_Component->render() #9 /home/krunch/public_html/ow_system_plugins/base/controllers/component_panel.php(183): BASE_CTRL_ComponentPanel->action('dashboard', 1, false, Array, 'drag_and_drop_e...') #10 [internal function]: BASE_CTRL_ComponentPanel->dashboard(Array) #11 /home/krunch/public_html/ow_core/request_handler.php(266): call_user_func_array(Array, Array) #12 /home/krunch/public_html/ow_core/application.php(329): OW_RequestHandler->dispatch() #13 /home/krunch/public_html/index.php(73): OW_Application->handleRequest() #14 {main} Type: ReflectionException