Removing Specific Actions

Greetings!

I would like to remove specific actions from the Action list in the View Profile page and from the Photo Gallery. How do I do this?

Any help would be much appreciated.

Quote · 15 Apr 2009

Hello,

You can do that from opening the file BxBaseProfileView.php contained in the directory yoursite.com/templates/base/scripts/

Once the file is open pls find this function near line 336:

function showBlockActionsMenu( $sCaption, $bNoDB = false )

Inside this function is the code which shows the action menu.

For example if you want to remove the action that says "Send Letter" remove this line located in the function mentioned above:

$ret .= $oTemplMenu -> getActionsMenuItem( 'action_send.gif', _t('_SendLetter'),     "compose.php?ID=$profileID" );

Hope that helps !

Best Regards,

The HotGate Team

Quote · 15 Apr 2009

Hot Gate, you're a star. It works like a charm.

Thank you!

Quote · 15 Apr 2009

You are welcome ! :D

Quote · 15 Apr 2009
 
 
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.