24 May
2008
24 May
'08
2:03 a.m.
Dave Cohen wrote:
I'd like to override theme_page() with the following logic: first use the page.tpl.php template, as the theme normally would; then, do some special processing to the output of the template. In drupal 5 this was easy enough, in drupal 6 I can't figure out how. If you can help, please respond to http://drupal.org/node/262085.
There's no postprocess in D6; in order to do what you want to do, you'd have to override theme_page as a function (i.e, implement phptemplate_page), call preprocessors yourself, then use drupal_render_template to render your page.tpl.php.