We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

Change the position from user dashboard to the sidebar - Who Viewed Me by Oxwall CandyStore | Forum

W.C
W.C Nov 1 '15

hello,


first of all, thanks for this plugin!


is it possible to Change or add the widget from the userdashboard to the sidebar?


if yes, what i must Change?


with best regards

W.C
W.C Nov 4 '15

Hello,


here the solution...


open this file: /ow_plugins/ocs_guests/activate.php

add this:

$widget = $widgetService->addWidget('OCSGUESTS_CMP_MyGuestsWidget', false);
$placeWidget = $widgetService->addWidgetToPlace($widget, BOL_ComponentAdminService::PLACE_INDEX);
$widgetService->addWidgetToPosition($placeWidget, BOL_ComponentService::SECTION_LEFT);


save the file, upload the file and overwrite the original.

deactivate and activate the plugin.


now you have the widget on the index page and you can move it to the sidebar section.


finish.


with best regards

You do not have permission to reply this topic