What's a good way to have a pane template for panes inserted into $content['sidebar_first'] in a custom layout?

Comments

merlinofchaos’s picture

Status: Active » Fixed

At this time there isn't actually a way to do that. You can manually select the style and you can use CSS cascading to target panes like that, but actually changing the markup automatically isn't possible because that information is not communicated down to the pane; they do not know what region they are in. That's an intentional limitation.

It becomes particularly problematic to do that when using things lke the IPE, where dragging a pane from one region to another would change the markup of the pane. That is simply not allowed in the system.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.