Check your version

This video covers a topic in Drupal 7 which may or may not be the version you're using. We're keeping this tutorial online as a courtesy to users of Drupal 7, but we consider it archived.

Display Suite: Provide a Custom Layout

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:04
    In this lesson, I'll show you how to create a custom layout
  • 0:08
    to use in Display Suite. We'll take a look
  • 0:11
    at the instructions in Display Suite's ds.api.php file
  • 0:16
    to find out how to provide our own custom layout.
  • 0:19
    In this process, we'll take a shortcut and copy a layout
  • 0:23
    from Display Suite into a custom theme
  • 0:26
    and then modify it. Finally, having gained an understanding of how to create a custom layout manually,
  • 0:33
    we'll look at the Drush command ds-build,
  • 0:36
    which allows you to quickly scaffold a Display Suite custom layout in your module or theme.
  • 0:42
    We can provide a custom layout in our theme to use in Display Suite,
Loading ...

Display Suite: Provide a Custom Layout

Loading...

In this tutorial, I’ll show you how to create a custom layout to use in Display Suite. We’ll take a look at the instructions in Display Suite’s ds.api.php file to find out how to provide our own custom layout. In this process, we’ll take a shortcut and copy a layout from Display Suite into my custom theme and modify it. In the next tutorial, we’ll look at the drush command ds-build which allows you to quickly scaffold a display suite custom layout in your module or theme.

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