O'Reilly logo

Drupal 6 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 tabbed panels in blocks

This recipe demonstrates the power and flexibility of Panels by exposing a panel as a block and jazzing it up by using jQuery's Tabs module.

Getting ready

This recipe uses the Mini panels module which is part of the Panels suite. For the tabs styling, this recipe utilizes the Tabs panel style module which can be downloaded at http://drupal.org/project/panels_tabs. This in turn depends on the Tabs module which can be downloaded from http://drupal.org/project/tabs.

It is assumed that the above modules have all been installed and are enabled. Furthermore, the Mini panels module controls access to its administrative features by way of permissions. It is assumed that they are enabled for the current user.

How to do it... ...

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