I use block theme to pass css classes into the tpl.php via the variables. For example, I will enter blue|blue to change the color of the block or grid-4|grid-4 which really helps with 960gs etc... while it does require some initial setup in the tpl.php files for a big project it becomes very useful because you dont have to keep adding in more css selectors.

A really handy addition to this module would be the ability to define the variables in a single place such as the admin page blocktheme uses. It would be in much the same way you can define templates now then on the block page you can still type to declare vars but it will also have a select field to choose predefined ones.

Then you could have things like:

offer|offer
new|new
color|color

In a drop down so anyone can easily change the whole appearance of a block.

Comments

amateescu’s picture

Project: Block Theme » Block Class
Version: 7.x-1.0-beta1 » 7.x-1.x-dev

Judging by the way you're using variables, this looks more like a job for the Block Class module.

Moving to it's queue to see how the maintainers feel about it.

westie’s picture

Didnt notice that block class was available for 7. Thank you, I think that will be more suitable for what we need.

What is keeping the module on a dev release anything I can help with? edit: dont worry can figure it out from the queue for 7.dev

berenddeboer’s picture

Status: Active » Closed (works as designed)