I am new to writing an extension.
I add a tab in my contact with this example
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
// this is just a demo, in the real world, you would create a url which would
// return an html snippet etc.
$url = CRM_Utils_System::url( 'civicrm/contact/view/contribution', "reset=1&snippet=1&force=1&cid=$contactID" );
$tabs[] = array( 'id' => 'mySupercoolTab', 'url' => $url, 'title' => 'Contribution Tab Renamed', 'weight' => 300 );
}
What should be the next step to add a content in the tab?
how I have to use the extension and add where I have to create a new file to show all the content.
Please can you provide me an example
Thank You