Closed (fixed)
Project:
Panelizer (obsolete)
Version:
7.x-3.1
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2012 at 21:30 UTC
Updated:
9 May 2013 at 01:25 UTC
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
Comment #1
merlinofchaos commentedYou 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.
Comment #2
merlinofchaos commentedI 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.
Comment #3
jlyon commentedThanks. I created an issue in display suite: #1784340: Set custom settings = TRUE for created view modes.
Comment #5
dadaisme commentedHi!
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.
Comment #6
merlinofchaos commentedYou 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.
Comment #7
merlinofchaos commentedQuestions 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.
Comment #8
dadaisme commentedHi!
That's what I did and the view mode did not appear in panelizer.
Thx