Skip to main content

Timeline for Add content type to body class

Current License: CC BY-SA 3.0

5 events
when toggle format what by license comment
Apr 21, 2015 at 10:04 vote accept big_smile
Apr 17, 2015 at 17:59 comment added Shawn Conn I updated the code with an extra conditional assignment that should cover the scenario of node/add/XXXX path.
Apr 17, 2015 at 17:58 history edited Shawn Conn CC BY-SA 3.0
add another conditional assignment on "node/add"
Apr 17, 2015 at 17:48 comment added big_smile This works for node/edit, but the for node/add, the content type is listed as "none". (By Node/add I mean when you create a node before saving it).
Apr 17, 2015 at 16:08 history answered Shawn Conn CC BY-SA 3.0