[development] postprocess theme in Drupal 6?
Earl Miles
merlin at logrus.com
Sat May 24 00:03:39 UTC 2008
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.
More information about the development
mailing list