Panels session by Suzanne Kennedy from evolvingweb.com

October 23, 2010

Suzanne Kennedy - panels session at Montreal Drupal camp 2010Panels are like views, but way more powerful, and more sophisticated

Panels over-ride content of any Drupal page

You can create custom paths i.e creating a sideboard for organic groups

Add variant for note template page

Custom panel pages

Set up a new page

You can allow certain users access to certain panels and not views

Existing panels

If you want to create a panel for all the article content on your site – it’s already set up and ready to go

When you’re creating this you have to be adding a variant, so if you want to add a varient for say admins, and then anonymous users to have another, you can use selection rules

Can you clone variants (similar to displays in views….) but a little different cause when you create a new variant, you have to start from scratch, you can export and import variants

Adding content to panels – you can create new custom content in panels, instead of creating a new custom block

Panels also lets you create custom layouts

Layouts by default are kinda limited – you have to tell your theme that you’re going to do this, then you need to create a directory in your theme, then you can copy a layout from panels to give you a template to customize

Panels is not perfect for multi-lingual sites – you have to write some custom code for this – or you can get around this by using a multi-lingual block

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.