RSS

Newsletter

The CodeKarate Newsletter is the best way for technical ninjas to keep their swords sharpened. Don't worry, we won't flood your inbox and your email address will always remain private.
Back to Top

Theming a Drupal 7 Webform

Episode Number: 
13

A simple example showing how to theme a Drupal 7 webform created by the Drupal Webform module. If you need to change the structured HTML around your webform, this episode will help.

In this episode you will learn:

  • How to override the Drupal 7 Webform template file in your theme
  • How to access and display output of your Webform in the template file
DDoD Video: 
See video

Discussions

1
webatelier (not verified)

No sound ?

No sound ?

2
Anonymous

still no sound

still no sound

3
shane

Sound fixed

I have finally got around to fixing the sound on this video.

shane's picture
4
mr z (not verified)

I have tried php print

I have tried php print snippet but it dosent work so i tried a diff code and that dosent work aswell is therw any other code that u can send could u send me another php snippet on my email please m using drupal 7 and how do i check for errors on php (i m very new to developing) do u have a video for it that shows arrays on my form

5
Nipendra (not verified)

Not printing the fields

Thank for a nice tutorial!

I have tried exactly what you have shown in this tutorial. But the problem is the fields are not displaying. Do i need to enable any another essential modules except webform?

Thanks in adv.

Post new comment

  • 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> <h2> <h3> <blockquote> <img>
  • Lines and paragraphs break automatically.
  • You can enable syntax highlighting of source code with the following tags: <css>, <html>, <php>, <c>, <cpp>, <drupal5>, <drupal6>, <java>, <javascript>, <mysql>, <python>, <ruby>. PHP source code can also be enclosed in <?php ... ?> or <% ... %>.

More information about formatting options

By submitting this form, you accept the Mollom privacy policy.