Override Panel Pane Template File

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:03
    The panel pane template file controls the markup for the Panel Pane container.
  • 0:09
    When you place content into a panel region, it is wrapped by a container called the Panel Pane.
  • 0:14
    To change this wrapper markup, you will need to copy the Panels Pane template file
  • 0:19
    into your themes / templates directory.
  • 0:22
    Let's walk through this process now.
  • 0:24
    In this left window I am navigated to the root of my Drupal directory.
  • 0:29
    To find the Panel Pane template file I need to navigate to:
  • 0:32
    Sites, All, Modules, Panels and Templates.
  • 0:40
    And here are all the template files that the Panels project provides.
  • 0:44
    We are interested in this "panels-pane.tpl.php".
Loading ...

Override Panel Pane Template File

Loading...

The panel pane template file controls the markup for the panel pane container. When you place content into a panel region, it is wrapped by a container called the panel pane. To change this wrapper markup, you will need to copy the panels pane template file into your theme’s templates directory. Let’s walk through this process in this tutorial.

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