When configuring a block, the Block Class settings fieldset has the following description (emphasis mine):

Customize the styling of this block by adding CSS classes. You can add multiple classes. IMPORTANT: You must add print $block_classes; to your theme's block.tpl.php file to make the classes appear. See the module's README.txt for more details.

This is incorrect for Drupal 7: users don't have to do anything as the classes are added via a preprocess hook. Patch is forthcoming.

CommentFileSizeAuthor
#1 block_class-1123888-1.patch1.19 KBmark trapp

Comments

mark trapp’s picture

Status: Active » Needs review
StatusFileSize
new1.19 KB

Attached is the patch.

Fanaile’s picture

Patch works well for me.

Jean Gionet’s picture

worked for me as well

todd nienkerk’s picture

@Mark Trapp: Will you be able to apply this patch to 7.x-1.x-dev, or should I take care of it this week?

j0rd’s picture

Would like this removed as well. Going to be confusing to the site builder.

rschwab’s picture

Status: Needs review » Reviewed & tested by the community

I just ran into the same problem. I think the proposed help text could be improved, but I noticed another issue on that topic specifically, so lets get this in to fix the broken text first then improve.

The patch looks good to me. Removing that access check is safe AFAIK because a user needs that permission to see the form in the first place.

skolesnyk’s picture

Please, patch!

Screenack’s picture

Subscribing, threw me for a loop, too

berenddeboer’s picture

Status: Reviewed & tested by the community » Closed (fixed)