Fences: Semantic Markup for Fields

Video loading...

Join Drupalize.Me to watch this video

Join today and gain instant access to our entire video library.

Log in Sign up
  • 0:05
    Now let's take a look at how we can configure fields
  • 0:07
    to use semantic markup using the Fences module.
  • 0:11
    In this tutorial, we'll install and enable Fences module using Drush.
  • 0:16
    Then we'll take a look at the configuration settings for the module.
  • 0:19
    Next, we'll hop into the field settings form for the body field
  • 0:23
    and select an HTML5 tag as a new markup wrapper.
  • 0:28
    Finally, we'll take a look at how Fences' field settings configuration
  • 0:32
    carries over to Views
  • 0:34
    and how we can override Fences' markup in Views field settings.
  • 0:39
    First, let's download and install Fences module using Drush.
Loading ...

Fences: Semantic Markup for Fields

Loading...

Now let’s take a look at how we can configure fields to use semantic markup using the Fences module. In this tutorial, we’ll install and enable Fences module using Drush. Then we’ll take a look at the configuration settings for the module. Next we’ll hop into the field settings form for the body field and select an HTML5 tag as a new markup wrapper. Finally, we’ll take a look at how Fences field settings configuration carries over to Views and how we can override Fences markup in Views' field settings.

Downloads: 
Log in or sign up to download companion files.
Additional resources: