Hello all,

I am trying to manipulate the outcome of a module (support ticket module).
I was hoping to do this with a template for tables in general. Find out if it a support ticket table is being displayed. Add some texts between columns and so on.
I want to do this without having to mess with the module source, since that will be easier when updating the module.

I found this in the module code:

$output .= theme('table', $header, $rows, array('class' => 'support')) . theme('pager');
return $output;

I guess you could make a table.tpl.php file that handles table outputs. But I cannot find an example of this or something similar in the drupal source.
Anyone knows how the tables are handled and you I can modify the output with a template?
A default table template file would be welcome.

grtz Wietze

Comments

solution

I found a solution. Instead of messing with the module itself, I copied out the page generation part of the module and made it part of a page. I could then adjust the query and $header and $rows generation.

grtz Tissue

nobody click here