I have some custom data in a "tab with tables" style. One of the fields is an integer type. I'd like to add a summary at the bottom of the table with totals for this field. Is that possible to do? Any pointers to what hook to use or how I can build it?

1 Answer 1


Personally I'd do it by adding some javascript code to the page, and just use jQuery to add the totals row.

A super-quick way to do this would be to place the code inside {literal}<script> tags in a .tpl.extra file.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.