Page Manager allows you to build up a "page" with smaller "panels", such that you can add fields, blocks and views into different layouts. But how do you write your own custom panel?
Page Manager is a part of the Chaos Tools module.
Register a Plugin Directory
Create this function in your modules .module file. This simply tells cTools where to look for additional plugins.
Remember that Chaos Tools uses the term "Content Types" differently to the Drupal Core.
Suppose we have two related types of data - for example a movie database that has movies and actors. We can use the Node Reference module to link the Actors to the Movies that they are in. What we want is to be able to have a list of Movies that an Actor has appeared in listed on the Actor Node View page. We want to do this using the Pages module and use a "Context Pane".
The problem is that you have a parent node and a heap of related nodes that you want listed when you look at the parent node view mode. In this case you may have used the "Node Reference" field to make this reference.
For example, you may have a movies database and each movie has a list of actors linked to it. When we look at a movie, it has a list of actors after it. We have the movies and actors as different content types and are using the Node Reference field type to cre ate the link. How do we do this?