I have a contact form made with the contact module.

I want to theme it through a .tmp.php file as one would theme flexinodes.

Is this possible?

Shawn

Comments

scaza’s picture

To the best of my understanding the documentation suggests the api reference should have a theme_ prefix to override it in template.php.

well adding this did work.

function phptemplate_contact_mail_page() {
return _phptemplate_callback('contact');
}

to use a file called contact.tmp.php

However none of the form information shows up in there?

scaza’s picture

I've also tried this on just the 'theme_form' call.
What I can't figure out, or seem to find any documentation on, is how to integrate the function into the template page.