Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.

  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Panels

Although it's not as popular as Views, the Panels module has a reported usage of more than 100,000 installs! Not too shabby. If you haven't tried Panels yet, it's a little hard to wrap your head around it at first when you are used to Drupal's built-in block configuration. But, if you are willing to take the plunge, you'll find that Panels is an awesome tool for sites with non-standard or multiple layout requirements. David Mercer's Drupal 7 book has an introduction to Panels, but, for more in-depth coverage, Bhavin (Vin) Patel has a Drupal Panels book and Earl and Lynette Miles wrote one for Panels, CCK, and Views. I'll assume you know how to use Panels for this section.

Panel panes

The language behavior of panel panes depends on the pane content. For example, if you add a multilingual block, then you will see the language-specific block content when viewing the panel with another language. This is the same for any component added to a pane including nodes, menus, variables, and forms. In my case, I created a panel page that included the Powered by Drupal block, Who's online block, site name, "Multilingual Drupal rocks" blog post, the contact form, and a custom footer menu. When viewing the panel page in German, all of these components are translated accordingly. Awesome!


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint