Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By scaza on
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
To the best of my
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?
I've also tried this on just
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.