How to alter add content form to include a new setting panel? Here is the code for creating a new Tab in the settings panel on "Add article" node.
But it is not displaying.. what could be the errors ?

function mltag_form_alter(&amp;$form, &amp;$form_state, $form_id) {
if ($form_id == 'article_node_form') {
drupal_set_message('Editing a node');
$form['mltag'] = array(
    '#type' =&gt; 'fieldset',
    '#title' =&gt; t('MLTag settings'),
    '#access' =&gt; TRUE,
    '#collapsible' =&gt; TRUE,
    '#group' =&gt; 'additional_settings',
    //'#attached' =&gt; array(
    //        'js' =&gt; array(drupal_get_path('module', 'autordf').'/autordf.js'),
    //),
    '#tree' =&gt; TRUE,
    '#weight' =&gt; -2,
    '#attributes' =&gt; array('class' =&gt; array('mltag-settings')),
);
$form['mltag']['enabled'] = array(
    '#type' =&gt; 'checkbox',
    '#title' =&gt; t('Generate tags use Mltag'),
    //'#default_value' =&gt; (empty($form['nid']['#value'])),
);
}   
}
Your code works perfectly for me; dropped straight into a form alter hook I get the following on the article add page:



There are 3 reasons I can think of that might explain why you're not seeing the new tab:


You haven't cleared Drupal's caches since implementing the new hook (probably the most common cause for problems like this).
Your module isn't actually called "mltag", in which case your form alter hook will never actually be run.
Your code is in a file other than the main .module file. Hooks declared in files that are not explicitly included from the .module file will not necessarily be found when Drupal is updating the module_implements cache.