Using panels on view modes in Drupal 7

Ever since Display Suite came out, people always thought it was a competitor for Panels, which really isn't the case. I'm not going into that debate, both me and merlinofchaos know the facts. I've got better news instead. Apart from the fact that Panel layouts are already available through the Field UI, the Panel editor can now be used as well. That's right, if you are a Panels/Page manager user, you can now use that interface to manage the layout of any view mode of any entity in your Drupal 7 installation. Drupal display managemement just got slick!

The code is available in the 7.x-1.x version of Display suite as a submodule called Panel view modes. This is a call for testers to play around with the initial implementation to make sure this works well. Post features, bugs into the issue queue. Make sure you have the latest dev versions installed of CTools, Panels and Display Suite and post as much debug information and/or steps to reproduce for any problem you might find.

In the meantime, you can drool over the screencast, the real magic starts around 1:35 :)

Comments

Submitted by Aidan Lister on June 18, 2011 - 19:07

That's looking fantastic! What a wonderful combination ...

What do you see as the future of these two modules working together? Your approach provides a nicer and more intuitive approach to overriding layouts, though we lose some functionality like selection rules. Are you going to extend DS to cover this additional functionality or leave it as is to handle 95% of use cases?

Submitted by swentel on June 19, 2011 - 02:31

The idea is to as much features as possible in the next couple of days/weeks including

- prepopulating fields on the display by default
- adding selection rules, variants and contexts

Those are the first 2 things I can come up with, any other ideas can always be posted into the issue queue :) 

Submitted by Fabianx on June 19, 2011 - 14:29

Hi,

This is absolutely really great.

One question though:

Does this / Will this also support the new way for panels 3.x to move the content while being on the "live" site?

This would then rock even more!

Will definitely give it a try!

Best Wishes,

Fabian

Submitted by tgroff on July 6, 2011 - 06:45

Hi, this looks great! I've just downloaded the latest -dev and git versions of DS and I don't see any such "Panel view modes" module in my modules screen, and all I see in sites/all/modules/ds/modules file system is "ds_extras" and "ds_search". Has this yet been released in the dev or git versions? Or am I missing something?

Thank you,
--Tony

Submitted by swentel on July 6, 2011 - 10:06

The "Panel view modes" has been removed and the functionality has been integrated completely into the DS extras module. So once you enable that, go to admin/structure/ds/extras and there you can enable the Panel view modes functionality.

Submitted by itivet on August 12, 2011 - 16:54

I don't see the Panel view modes in DS Extra module configuration. How come? did I missed something?

Submitted by Aitor on November 29, 2012 - 12:48

I can't find panel view modes in the Extra options. I am following your video, but I can't see panel view modes. I have the panels module installed and activated.

I am using the version 2 of Display Suite, and I don't know if this application has been removed in this version.

Submitted by Aitor on November 29, 2012 - 15:55

Sorry, I have seen in the documentation that this feature is not included in the version 2 of Display Suite.
I love this module.

Thanks a lot

Submitted by sparky888 on July 29, 2013 - 22:02

From: https://drupal.org/node/1524800

Removed Features

There is no support anymore for Panels view modes. The code is gone in the 7.x-2.x branch, it will stay in the first branch for people still using it. Use the 7.x-3.x branch of Panelizer if you want to use Panels on view modes.

You are here