Closed (fixed)
Project:
Block Class
Version:
6.x-1.1
Component:
Documentation
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
13 Mar 2009 at 01:50 UTC
Updated:
14 Feb 2010 at 20:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
clemens.tolboomThe readme is added but contains an error.
The call to block_class should get the block from the $variables like
Comment #2
todd nienkerk commentedclemens.tolboom: Good catch! I'll commit this shortly.
Comment #3
brad.bulger commentedalso, isset() should be testing
$variables['block_classes']not 'block_class' (right? unless i'm missing something)Comment #4
todd nienkerk commentedBrad Bulger: Another good catch.
After reviewing the README file, however, it's clear that
template_preprocess_block()should be implemented inside the module itself instead of requiring the user to add it to their theme. (The user must still add$block_classesto theirblock.tpl.phpfile, of course.)I'll submit the changes to README and the module shortly.