Hi,

I am using the latest dev version and lables are not being displayed when editing a content type.
Any feedback on the above would be more than appreciated.
Thanks
T

Comments

Vote_Sizing_Steve’s picture

Subscribing.

travismiller’s picture

In matrix.module:matrix_process (approx line 219), I had to hack in the label. I didn't look much futher into why #title is not rendered later on.

  $processed_element = array(
    '#tree' => TRUE,
    '#weight' => $field['widget']['weight'],
    '#theme' => 'matrix_table_form', 
    '#prefix' => '<div class="form-item matrix_field">',
    '#suffix' => '</div>',
    '#parents' => $element['#parents'],
    '#title' => $element['#title'],
    '#description' => $element['#description'],
  $processed_element = array(
    '#tree' => TRUE,
    '#weight' => $field['widget']['weight'],
    '#theme' => 'matrix_table_form', 
    '#prefix' => '<div class="form-item matrix_field">' . '<label>' . $element['#title'] . '</label>',
    '#suffix' => '</div>',
    '#parents' => $element['#parents'],
    '#title' => $element['#title'],
    '#description' => $element['#description'],
intrafusion’s picture

Status: Active » Closed (won't fix)

Marking as Closed (won't fix) as the new co-maintainer will be focusing on D7