Thank you for your help! I have followed your instructions and made a module. The new field should up in the Tables API settings. I enabled it. But the value does not display when the table is rendered, only the new label.
I suspect it is in the portion of the extensible tables code:
case 'data':
$data['score'] = array('male', 'female');
return $data;I do not know what to do with this part.
Here is the code in my module:
<?php
function tapir_table_alter($table_id, $op) {
if ($table_id == 'uc_product_table') {
switch ($op) {
case 'fields':
$fields[] = array('name' => 'field_exterior_length', 'title' => t('Exterior LxWxH'), 'weight' => 3,
'enabled' => FALSE);
return $fields;
case 'data':
$data['score'] = array('male', 'female');
return $data;
}
}
}
?>Any ideas on what I need to put in there? Thanks again for your help!



Joined: 12/16/2007