Wednesday, September 2, 2009

Add/Remove 'Actions' - Dolphin profile view

You can change the options in the actions menu (on the profile view page) by following these simple steps.

Open:
/templates/base/scripts/BxBaseProfileView.php

Find the function:
showBlockActionsMenu()

You will  find within this function are the links. Add and remove links in this area.
BEWARE:: Make sure you keep the code entact, and follow the other links as guides. For instance - one link opens a standard page within the same browser - other links have an OnClick event - which opens a pop up window.

As long as you are careful to add a new link in the exact fashion, or remove a link by taking away the entire line (from $ret .= all the way to and including the semi-colin. ( ; ) - you will be able to completely customize this area of your dolphin community.

No comments:

Post a Comment