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

Add items into user profile settings [Solved] | Forum

Anthony
Anthony Nov 20 '13
Hello,


I would like to know how can I add an item in the user profile settings? 

For instance I want to add the plugin Search Plus and a link to add envent.


Can I do that by adding a "Custom text/HTML" into the "User profile settings" (in the web admin)? Another way?


Thank you for helping,

Sherraff

The Forum post is edited by Anthony Nov 21 '13
Attachments:
  AddItem.PNG (29.46Kb)
Sean
Sean Nov 20 '13
You'll need to create a plugin with a user profile component. 
Anthony
Anthony Nov 21 '13
It's solved, I find a solution for the Search Plus plugin.


1/ Uninstall the plugin / widget that you want to move in another place (in my case to the PLACE_PROFILE).

2/ Modify file activate.php of your plugin (at root). I just change this:

$placeWidget = $widgetService->addWidgetToPlace($widget, BOL_ComponentAdminService::PLACE_DASHBOARD);

by:

$placeWidget = $widgetService->addWidgetToPlace($widget, BOL_ComponentAdminService::PLACE_PROFILE);

3/ Reinstall your plugin.


And now I've got it on my Profile User Settings.

Unus
Unus Mar 22 '16
and if I want to place it to a new page I created myself via admin console "add page" how do I specify it? cause the new page doesn't have a constant in the code BOL_ComponentAdminService::PLACE_NEW_PAGE_X


ross Team
ross Mar 22 '16
Topic was moved from General Questions.