[development] postprocess theme in Drupal 6?

Earl Miles merlin at logrus.com
Sat May 24 02:03:13 UTC 2008


Dave Cohen wrote:
> Thanks Earl for the quick reply.  However, there is no phptemplate_page() in 
> D6.  There's theme(), which has a lot of complicated logic around hooks and 
> templates which I'd rather not duplicate in my theme_page override.  I want 
> all preprocess and variable handling that normally applies to a page 
> template.  I still don't see a clean way to do it.

You can just call template_preprocess_page() from your THEMENAME_page() 
function.


More information about the development mailing list