$item) : if (!$item['empty']) : ?>
"; $prepared = matrix_format_prepare($field, $item); $links = matrix_format_prepare_links($node->nid, $field_name); //if you want to customize the formatting, manipulate $prepared before passing it to theme('matrix_table'...) foreach ($prepared as $row_index => $row) { foreach ($row as $column_index => $cell_value) { $manipulated_data[$row_index][$column_index] = "row_index:". gettype($row_index) ."col_index:". gettype($column_index). "val:". gettype($cell_value) ."
"; } } print_r($manipulated_data); reset($prepared); //if you want to customize the formatting, manipulate $prepared before passing it to theme('matrix_table'...) foreach ($prepared as $row_index => $row) { foreach ($row as $column_index => $cell_value) { if ($row_index > 0 && $column_index > 0) { $manipulated_data[$row_index][$column_index] = "
$cell_value
"; } else { $manipulated_data[$row_index][$column_index] = $cell_value; } } } print theme('matrix_table', $manipulated_data); ?>