I have a node with a custom view mode that I have created with display suite. On admin/config/content/panelizer I can choose to panelize all of the out-of-the box view modes ( Full page override, Default, Teaser), but not my custom view mode.

Comments

merlinofchaos’s picture

Status: Active » Fixed

You need to set your view mode to use 'custom settings' => TRUE in the settings in hook_entity_info_alter(). Then Panelizer will see it and be able to panelize it. This was done to avoid panelizing things like RSS feeds and other 'hidden' view modes.

merlinofchaos’s picture

I guess if you created it with display suite, you might need to file an issue with display suite to ensure that that setting is right. Either that or display suite is using some other setting to make a view mode visible.

jlyon’s picture

Thanks. I created an issue in display suite: #1784340: Set custom settings = TRUE for created view modes.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Dadaisme’s picture

Version: 7.x-3.x-dev » 7.x-3.1

Hi!

Enabeling a custum display from display suite in manage display for a content type (a way of setting in to true?) does not make it "panelizerable". Why?

Suggestions?

Thx.

merlinofchaos’s picture

You need to visit admin/structure/types and choose 'manage display' for whichever node type(s) are relevant and select 'custom settings' for that view mode. That will allow the view mode to be panelizable.

merlinofchaos’s picture

Questions like this should probably be new tickets.

Note: I haven't tested this with display suite-provided view modes, I've only used the entity_view_modes module and that has worked for me.

Dadaisme’s picture

Hi!

That's what I did and the view mode did not appear in panelizer.

Thx