I'm trying to create a tab on the contact page that calls an AngularJS Url. However, civicrm removes the #
and everything after it.
I've tried drupal's url() function, still doesn't work. Please let me know if there is a way to do this.
function contactcampaign_civicrm_tabset($tabsetName, &$tabs, $context)
{
/* Ensure it's the contact view tabset */
if ($tabsetName != "civicrm/contact/view")
{
return;
}
/* Add a new tab */
global $base_url;
$tabs['personal_campaign_pages'] = array(
'title' => ts('Personal Campaigns'),
'url' => '/civicrm/a/#contact/campaign/all',
);
}