Panels

By shane
2015-06-06 20:09
4 comments

What if you had to go build a Drupal site on a remote island without WiFI? Yes that's right, no internet connection at all? What modules would you bring with you?

By shane
2015-03-07 23:19
1 comment
Daily Dose of Drupal Episode #196

Sometimes you need to display something dynamically based on the page the user is currently viewing. Sure you can accomplish some of this with blocks, or even just panels, but sometimes it's nice to have the best of both worlds.

By shane
2014-08-06 20:48
2 comments
There are times when you want to programmatically embed a node display in a block or panel pane. You can do this by creating a block. You might try to use the node_view function to display the node. Doing so in a module might look something like this:
/**
 * Implements hook_block_info().
 */
By shane
2014-07-30 07:57
3 comments
Daily Dose of Drupal Episode #160

The Drupal 7 Panelizer Module allows you to panelize (or use panels) for any entity type on your Drupal 7 site. This allows you to change the layout of a node page, user page, or any other type of entity that you can think of. Although it's a little more complicated to set up, the Panelizer module allows you to set up a slimmed down panels interface for other site managers to use. This way you can allow a site manager to change the layout of specific node pages or even choose from a list of predefined node layouts that you set up.

By shane
2014-07-25 07:10
2 comments
Daily Dose of Drupal Episode #159

The Fieldable Panels Panes module allows you to create re-usable and fieldable entities that can easily be dropped into Panels pages. This can be useful if the traditional Add Content panes inside Panels is too limiting for you. This also allows using fields (which are translatable) for your Panels content.

In this episode you will learn:

By shane
2013-04-03 23:59
4 comments
Daily Dose of Drupal Episode #136

Another episode covering the Drupal 7 Panels module. This time we continue learning about Panels module contexts, but focus on using Panels module contexts relationships with an entity reference field.

In this episode you will learn:

  • How to set up and use Panels context relationships
  • How to include related node information from an entity reference field
By shane
2013-04-02 21:37
2 comments
Daily Dose of Drupal Episode #135

Another episode on the Drupal 7 Panels module, but this time we cover Drupal Panels Contexts.

In this episode you will learn:

  • What are Drupal Panels module contexts
  • How can Drupal Panels module contexts be used to load in additional information in a panel page
  • How can Drupal Panels module contexts be used to load in dynamic information based on a page argument
By shane
2013-04-01 20:12
1 comment
Daily Dose of Drupal Episode #134

In this episode we continue learning about the Drupal 7 Panels module and go into how visibility rules can be used to control the display of individual Panels items within your Drupal panels content.

In this episode you will learn:

  • What Drupal 7 Panels module visibility rules are
  • How Panels visibility rules differ from Panels selection rules
  • How to use Drupal Panels visibility rules to hide and show content based on URL path
By shane
2013-03-31 23:52
1 comment
Daily Dose of Drupal Episode #133

This episode continues with the Drupal 7 Panels Module and goes over how to use variants and selection rules within a custom panel page.

In this episode you will learn:

  • How to create multiple variants for a single Drupal 7 Panel page
  • How to use selection rules to display a different Drupal 7 Panel variant based on a URL path
  • How to use Drupal 7 Panels module selection rules to display a different variant based on a user's role on the Drupal site
By shane
2013-03-20 10:30
0 comments
Daily Dose of Drupal Episode #130

In this episode we continue learning more about the Drupal 7 Panels module and go over how to use the panels flexible layout builder to easily build complex layouts using the panels module.

In this episode you will learn:

  • How to use the Panels flexible layout builder
  • How to convert a standard Panels layout to a flexible layout

Thanks to OSTraining for sponsoring this episode of the Daily Dose of Drupal.

Daily Dose of Drupal Episode #129

This continues with the Drupal 7 Panels module and goes into more detail on how the Panels module can be used to override the display of the node view (or content type) pages.

In this episode you will learn:

  • How to use the Panels module to override the node view page on a Drupal 7 website
  • How to use Panels to completely customize the layout of content type pages for specific content types using selection rules and variants
By shane
2013-03-13 23:57
4 comments
Daily Dose of Drupal Episode #128

The Drupal 7 Panels module allows the creation of customized page layouts using an easy to use drag and drop page builder. Panels can be used to build custom pages, change the layout of node (or content type) pages, and even modify the Drupal user profile or account page.

In this episode you will learn:

  • An overview of what the Drupal Panels module is and how it can be used
  • A quick overview of Drupal 7 Panels options and configurations
  • How to create a custom Drupal 7 Panel page
By shane
2012-04-22 19:42
14 comments

Ran into a views and panels issue today that was very simple to fix, but difficult to track down. Here is my situation in case you run into a similar views/panels issue.

I have one Drupal 7 panel page that does a lot of visibility rule filtering based on the path of the panel. Depending on the path, I have different pieces of content that show up. In some situations, this may be a view (othertimes it is static content, custom coded blocks, etc).

By shane
2011-03-14 20:39
3 comments

So I recently ran into the situation where I was theming an Ubercart product node page and had the need to display a mini panel in the .tpl.php file. Here is the code I used to get it to display. The first code snippets went in the template.php file of the theme, while the second code snippet went in the node-product.tpl.php file.

You will need to replace "MYTHEME" with the name of your theme and "my_mini_panel" with the name of your mini panel. This can be found on the mini panels admin page (admin/build/mini-panels) under the Name column.

Subscribe to Panels