To make custom tabs when viewing a contact, begin by using the tabs_hook "hook_civicrm_tabs".
http://wiki.civicrm.org/confluence/display/CRMDOC/CiviCRM+hook+specification#CiviCRMhookspecification-hookcivicrmtabs
A simple example given on the hooks documentation link above
function civitest_civicrm_tabs( &$tabs, $contactID ) {
// unset the contribition tab, i.e. remove it from the page
unset( $tabs[1] );
// let's add a new "contribution" tab with a different name and put it last
Blog posts by illmasterc
Keep up-to-date with blogs from the core team, working groups, developers, users and champions worldwide. Subscribe to our newsletter to receive regular updates by email. We also have an RSS feed.
luty 12, 2010
By illmasterc Filed under CiviMemberThis is by no means an elegant solution, but is at least a step towards automatically creating an associated Drupal user when adding a membership to a CiviCRM individual.