Needs review
Project:
Panelizer (obsolete)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Apr 2015 at 07:21 UTC
Updated:
16 Nov 2018 at 03:53 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
niko- commentedComment #2
niko- commentedPatch attached
Comment #3
niko- commentedComment #4
andypostextra brackets is not needed
Comment #5
niko- commentedHi Andy,
In case if panelizer use Full page override view mode $context->data->panelizer_view_mode key not present.
So this shorthand required.
Comment #6
niko- commentedUpdated patch
Comment #7
niko- commentedComment #8
andypostgreat!
Comment #9
damienmckennaJust out of interest, shouldn't this be set for all entities instead of just nodes?
Comment #10
niko- commentedI will check this case for taxonomy and user during next few days and update issue with info.
Comment #11
damienmckennaLeaving it as "postponed" until you check other entities. Thanks.
Comment #12
davidwbarratt commentedI put the "full page" in panalizer for node, taxonomy, and user and did something like this:
What I got was:
I applied the patch and that didn't change anything.
I also noticed that the view mode did not change to "teaser" on nodes like I expected (with or without the patch). The "teaser" that I have is not in Panalizer.
Comment #13
davidwbarratt commentedComment #14
davidwbarratt commentedComment #15
davidwbarratt commentedAttached is a patch that fixes the issue.
Comment #17
davidwbarratt commented#15 is a patch against the stable version, here's a patch against the dev version.
Comment #18
davidwbarratt commentedComment #19
davidwbarratt commentedReroll.
Comment #20
roam2345 commentedthis needs to be ported to drupal 8