Skip to main content


knackforge blog knowledge base

Drupal : Disable sticky header behavior of theme_table()

Lately I have been working on a potential Drupal 6 project that needs displaying information in a formatted table structure. Needless to say I have been using a lot of pager_query() and theme_table(). Yes, I do understand the benefits of hook_views_data() but this is a different case.

One thing I found to be annoying about theme_table() is it's default behavior of adding sticky table header and not having an argument that can be passed to disable it when needed as introduced in D7

Subscribe to phptemplate_preprocess_page()