Hi,

I read a lot of doc about this but is really strange for me

I will return a form , table & and a graph to my template

Actually that work for my form but how can I return the other values ?

Thanks in advance

function rep_dealerv2_theme(){
 
    return array(
      'rep_dealerv2_template' => array(
      'render element' => 'form',
      'template' => 'rep_dealerv2_template',
    ),
  );
}

function rep_dealerv2_content(){
    $form_dealer=drupal_get_form('rep_dealerv2_form');
    return theme('rep_dealerv2_template',$form_dealer);
   
}

Comments

nevets’s picture

What is the relation between the form, table and graph?

Note, this looks like it should be in a module, not a theme.