AnsweredAssumed Answered

Custom button does not show label

Question asked by jlabuelo on Aug 27, 2014
Latest reply on Sep 12, 2014 by jlabuelo
Hi all

I have created a custom button for the Detail View of a custom Module. The button shows, and performs the action as expected in the Detail View, however the label of the button is not shown and dont know why.

I have added the custom button in the editviewdefs.phh as you can see here:

$module_name = 'AOS_Invoices';
$_object_name = 'aos_invoices';
$viewdefs [$module_name] = 
array (
  'EditView' => 
  array (
    'templateMeta' => 
    array (
      'form' => 
      array (
        'buttons' => 
        array (
          0 => 'SAVE',
          1 => 'CANCEL',
          2 => array('customCode' => '<input title="{$APP.LBL_ASSIGN_TITLE}" accessKey="{$APP.LBL_ASSIGN_BUTTON_KEY} "type="button" class="button" onClick="document.location=\'index.php?module=AOS_Invoices&action=Assign&record={$}\'" name="confirm" value="{$APP.LBL_ASSIGN_LBL}">', 


and then the labels of the button have been added to custom/Module/language/es_es.lang.php and en_us.lang.php.

After restarting apache , quick repair, remove history cache from browser, the label of the button is still not showing

Any ideas about what I am doing wrong?

Thanks a lot in advance!!