I use Block Class (https://drupal.org/project/block_class‎) to assign CSS classes to my blocks. When I assign a block via Path Level Blocks, it doesn't get the Block Class I assigned.

Comments

Johnny vd Laar’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

For me this bug doesn't occur, perhaps a commit in the last few months fixed this.

askibinski’s picture

Status: Closed (cannot reproduce) » Active

I think I know howto reproduce:

@Johnny you probably used the 1.x branch of block class, which doesn't seem to have this issue.

However, when upgrading to 2.3 (necessary because of a recent SA), I noticed all block classes in node level blocks are not rendered. They are available in the edit screen and this problem only seems to present on blocks that are placed through node level blocks.

I haven't dived into the code yet, but the 2.x branch of block_class uses a different approach: it adds a field css_class to the core block table instead of using a seperate table. Maybe this will give some direction.

Johnny vd Laar’s picture

Status: Active » Closed (cannot reproduce)

On a fresh install of NLB 7.x-2.0 with Block class 7.x-2.3 I do get block classes... So cannot reproduce... If you can provide me better directions then I'll look into it again.