Action button on user profile page

I'm fairly new to Dolphin development, so my apologies if this is documented somewhere.

I am in the process of creating a new Dolphin (7) module and would like to add a new action button on the user profile page (where the "subscribe" etc button is).

From this document: http://www.boonex.com/trac/dolphin/wiki/DolModDev , I understand that I should look into BxBaseFunctions::genObjectsActions and BxBaseMenu::setCustomSubActions. I have looked at these functions, but I'll be honest, I have no idea how I should use them.

Any help on how to use these functions will be greatly appreciated!

Quote · 15 Dec 2011

If any one finds this topic in the future:

The solution is to add it to the sys_objects_actions table. There are a few configuration options that should be clear from the existing buttons.

Quote · 18 Jan 2012

Hi maybe this will save you some time lol:

 

http://www.boonex.com/m/actions-manager

Quote · 18 Jan 2012

Hi!

BxBaseFunctions::genObjectsActions

here BxBaseFunctions is the parent class for genObjectActions is the child method (function)

look in file templates\base\scripts\BxBaseFunctions.php

BxBaseMenu::setCustomSubActions

same here. in file templates\base\scripts\BxBaseMenu.php

you should view some modules like photos, videos, etc to know more about these functions.

so much to do....
Quote · 18 Jan 2012

Thanks, I will definitely recommend the action-manager plugin to future clients. It's much easier to use then changing database tables.

Quote · 7 Feb 2012
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.