For Profile Photo Widget, How they added this widget to Profile page?
For Profile Photo Widget, How they added this widget to Profile page?
simply add the code provided below to the very bottom of the /ow_system_plugins/base/init.php file, refresh the page (http://domain/admin/user-dashboard) - remove the code and refresh the page again:
$widget = BOL_ComponentAdminService::getInstance()->addWidget("BASE_CMP_UserAvatarWidget");
$widgetPlace = BOL_ComponentAdminService::getInstance()->addWidgetToPlace($widget, BOL_ComponentAdminService::PLACE_DASHBOARD);
BOL_ComponentAdminService::getInstance()->addWidgetToPosition($widgetPlace, BOL_ComponentAdminService::SECTION_LEFT, 0);