Hey, I just tested this out where I have a node with a panels node template** for a content type. The css isn't loaded at all (using firebug to check).

On regular nodes, it works just fine.

**By "node template" I mean using panels to override the node display. Its a pretty common practice so i think CSS.module should support it.

Comments

rbayliss’s picture

I'm getting this too. It seems that panels isn't calling the 'view' op after loading the node. This seems to be by design on panels part. I can't try this out till tomorrow, but apparently if you go to the content pane (where you add content to the panels layout), add "node content", and uncheck "no extras", you can make it work. I guess you could also set the visibility for this pane to none, but the whole thing seems counterproductive to using panels in the first place.

See this post for reference:
http://drupal.org/node/673080

that0n3guy’s picture

rbayliss,

Good find on that little "hack". That will at least get me up and running till this is fixed.

that0n3guy’s picture

I take it back... that hack isn't going to work for me.

To fix this I think we need to load the css using hook_init instead of hook_nodeapi