O'Reilly logo

Drupal 7 Theming Cookbook by Karthik Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Embedding content in a panel

Now that we have a layout ready for our front page panel, we can look into adding content to it. In this recipe, we will be embedding the site's slogan and other elements to the various regions of the frontpage_dashboard panel.

Getting ready

We are going to be using the frontpage_dashboard panel created in the previous recipe. As we will be using the site's slogan as a field, it is expected that it is filled in through the Site information page at admin/config/system/site-information [Home | Administration | Configuration | System | Site information].

The Views module interacts with Panels through an intermediary named Views content panes. If we would like to embed Views within our panes, then this module will also ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required