Closed (fixed)
Project:
Bean (for Drupal 7)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
23 Dec 2013 at 03:17 UTC
Updated:
18 Mar 2015 at 03:04 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
acrollet commentedPatch attached, review appreciated.
Comment #2
acrollet commentedargh, wishful thinking on the status!
Comment #3
jwilson3Needs docblock comment.
spelling.
Needs docblock comment, but also, a question: why does this have to be implemented only to call the parent?
Comment #4
acrollet commentednew patch attached, thanks for the feedback.
Comment #5
acrollet commentedNew patch attached with a bit of cleanup based on comments from jwilson3.
Comment #6
jwilson3On /admin/config/content/panelizer, when you first click to enable panelizer for a given bean type, if you don't also click the "Default" checkbox... the panelizer ui doesn't show any view modes, and there is no way to get it back. The workaround is to first go specifically enable the "Default" view mode on Admin > Structure > Block Types > {your block type} > Manage Display, under "Use custom display settings for the following view modes".
But for instance with nodes, the Article node type with a clean Drupal install only has "Teaser" checked under "Use custom display settings for the following view modes"
but then on /admin/config/content/panelizer, under Article, it shows rows for Full page, Default, and Teaser.
So it seems like there is some extra code somewhere that ensures that even if Default is unchecked, (for nodes at least) that it still shows up in the panelizer config page.
We should find that code and copy it for beans as well, to save the extra hassle of clicking around in the UI, and head scratching.
Comment #7
damienmckennaThis needs a small amount of work to handle the new structure for entity_allows_revisions:
Comment #8
acrollet commentedupdated entity_allows_revisions().
Comment #9
acrollet commentedArrgh, #8 was based on an older patch, ignore that and review this, please.
Comment #10
friera commented#9 works for me.
Thanks
Comment #11
indytechcook commentedThanks pushed to 7.x-1.x