Main menu

Views + Quicktabs + Taxonomy + custom code = nice auto generated quicktabs.

We want to show the categorised site’s content in different views. This means each term needs to be a tab. Each tab displays several views. We want it to be generated automatically. Let's see how to do that.

Apr 10 2011

Quicktabs is a nice little module that allows us to create blocks with tabbed content. It has a user interface to create new Quicktab blocks. The Quicktabs can be composed out of normal Drupal blocks, Views or other Quicktabs.

The nice thing is that the content of the Quicktabs can be loaded using AJAX, which might be necessary for performance reasons. The other nice thing is that Quicktabs also provides a little api to create Quicktab blocks programmatically.

Let's find out how to create them programmatically.

Subscribe to RSS - quicktabs