Closed (fixed)
Project:
Panelizer (obsolete)
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
8 Oct 2012 at 15:32 UTC
Updated:
11 Feb 2013 at 23:30 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
elliotttf commentedComment #2
merlinofchaos commentedThe text needs to specify that the css class will be added to the body; this can be really important if you're panelizing a view mode such as a teaser, where you really have no business adding body classes.
Comment #3
elliotttf commentedRe-rolled the patch based on review feedback.
Comment #4
caschbre commentedHow does this relate to #1379538: Allow custom body classes? Looks like this was accomplished for panels, but wasn't generic enough for panelizer.
Comment #5
merlinofchaos commentedCleaned up a bit. This only applies to the page_manager view mode, but other view modes probably have no right to mess with the body class.
Comment #7
frikovc commentedI'm using latest 7.x-3.x-dev and when I add body class on panalized content type per node the body class is added to the HTML markup. When I add body class to default panelizer at content type level (for all nodes) body class is not added (with caches cleared).
Any suggestions what to do?
Comment #8
damienmckenna@frikovc: Please open a new bug report for that. Thanks.