Shell Multimedia

Mostly Drupal for now -- Photography coming soon!

Panels

Calling a system page handler from code (CTools / Panels 3)

Thu, 05/07/2009 - 21:28 -- Michelle

This is a quick and dirty tutorial for calling a CTools/Panels 3 custom handler from code. It works for handlers for the system pages, such as the user page override. Calling custom/panels pages from code is different. Make sure you replace all instances of MODULE_NAME with your module's name.

Step 1: Create a file named MODULE_NAME.delegator_default.inc and put it somewhere in your module's directory.

Step 2: Paste in the following code.

A rough introduction to building a page in Panels 3

Mon, 04/27/2009 - 14:57 -- Michelle

Note: The CTools / Panels UI has changed drastically since this article was written, so much of it doesn't apply anymore.

This article is for folks used to making Panels pages in Panels 2 feeling bewildered by Panels 3. I wrote it quickly while my son had lunch and it's not polished at all but it may help some folks until there are better docs. I'm assuming you have bleeding edge Panels 3 and CTools installed for this.

Creating a content type with CTools for Panels 3

Tue, 04/21/2009 - 15:16 -- Michelle

Update: Feb 17, 2010 This article was written nearly a year ago when CTools was still in alpha. I don't know how much of it applies anymore but I've been told there's an up to date plugin example that ships with CTools now so you'll want to look to that as an example.

Note: This article requires the current Panels 3 / CTools development snapshots (or the beta when it comes out) as the alphas do not contain the recent changes to content types.

Subscribe to Panels