Drupal coder

Get the most out of Drupal webform module

Today I was looking for a way to customise the confirmation e-mail sent by the webform module. It appears that it's possible to customise this mail per form. By looking a bit further I discovered a file I had overlooked all of the time. This little file is called THEMING.txt and it delivers what is promised: it shows you how to customise all things Webform.

What will you discover there?

  • Theme submission emails
  • Theme the confirmation page
  • Theme display of an entire webform

Great! This teaches you how to customise the 3 parts in a webform subimission process: form display, confirmation screen and confirmation e-mail.

Go ahead and read it here: http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/webform/THE...

September 05, 2008Drupal, theming, webform

Comments

Interesting. I thought we could just see the results of the webform.
Thank you,

Yeah, would be cool to see a walk through on this.

asdfadsfa

"Open up your new file and customize the webform however you like."

... and then a miracle occurs?

Sorry, I don't get it.

For instance, how would you make some description appear above a field instead of below?
And how would you place text which isn't connected to a particular webform component, e.g., "blah blah in the following section" - I don't mean the title, but say halfway through the form?

webform-form.tpl.php is pretty cryptic.

thanks for any advice.

How did you get your drupal webform to look so nice?

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.

More information about formatting options