Book Image

Drupal 6 Panels Cookbook

By : Bhavin (Vin) Patel
Book Image

Drupal 6 Panels Cookbook

By: Bhavin (Vin) Patel

Overview of this book

<p>The Drupal Panels module allows a site administrator to create customized layouts for multiple uses. At its core, it is a drag and drop content manager that lets you visually design a layout and place content within that layout. Guidance is required when it comes to successfully implementing panels in your CMS. The Panels module lacks sufficient documentation and most Drupal users are left in the lurch with many unanswered questions.<br /><br />This book comes to your rescue and discusses all that you need to successfully incorporate Panels in your Drupal CMS. You will learn everything from setting up Panels, through using it, to integrating it with other modules. The book discusses the various problems involved in using Panels along with their solutions. It shows you how to reap added benefits using Panels.<br /><br />The book is a collection of simple useful recipes that gives a very clear understanding from the basics of Panels to complex implementations to generate Web 2.0 layouts. It begins with the basics and gradually delves deeper into the complexities of Panels. You will learn how to set up CTools and Panels, upgrade from Panels 2 to Panels 3, about page layout, theming, and lots more. The layout of the book is a series of interconnected but distinct recipes that gives a basic understanding of usage of Panels in Drupal and also the advanced settings that makes Panels one of the most powerful modules .You will learn to master the Panels user interface and theme each panel quickly with a series of practical recipes. You will be able to integrate powerful Drupal modules like Organic Views, Advanced Profile Kit, Views, CCK, and many more to create socially connected Web 2.0 websites.</p>
Table of Contents (17 chapters)
Drupal 6 Panels Cookbook
Credits
About the Author
Acknowledgement
About the Reviewer
Preface

Installing and configuring OG Panels


Let's install and configure the OG Panels module, which will enable people to create their own Groups based on the story they publish.

Getting ready

Download Organic Groups and the OG Panels module from Drupal.org. Put the modules in sites/all/modules and activate the module in the admin panel.

How to do it...

  1. 1. Go to Site configuration | By module | Organic groups | Organic groups configuration.

  1. 2. We need to specify one node as a group node, which means one custom Content type or an existing node that will behave as a group. To make it simpler, it will be the Content type that people will make the groups on.

  2. 3. We will make custom Content types for Panels in the coming recipes. We can create a new Content type or use an existing one. Here, we will take the existing node, Story, and enable it as a group node. The Organic Group node can be posted as four types:

    • Group node— Where the post behaves as a group post.

    • May not be posted into the group— means that...