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

Drupal 7 Fences Module

Episode Number: 
87

The Drupal 7 Fences Module is a lifesaver for the HTML purist in all of us. By default Drupal adds a lot of extra markup that is not always needed. The reasons Drupal adds the extra markup is to make sure it can work out of the box for as many different requirements as possible. However, in many cases this markup is not needed. This is where the Drupal Fences module comes in. This module not only lets you choose how to structure the markup around your Drupal 7 fields, it also comes with a wide variety of completely customizable field templates.

In this episode you will learn:

  • How to clean up the HTML markup around your Drupal fields with the Drupal Fences module
  • How to change the template used for individual Drupal fields
  • How to modify an existing Drupal Fences template
  • How to create your own Drupal Fences template
DDoD Video: 
See video

Discussions

1
Jason Xie (not verified)

Display Suite can do it better.

IMO Display Suite module can do this better, with better GUI and as a bonus build a custom layout by drag and drop.

1-1
Denis (not verified)

Display Suite module rocks!

Display Suite module rocks! Thank you!

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.