Hi,
Zen is not compatible with the great module Clean Markup.
It is using $variables['title'] to set the block title markup as defined in the block configuration settings.
Because of following code in Zen's template.php, the title markup is erased.
function zen_process_block(&$variables, $hook) {
// Drupal 7 should use a $title variable instead of $block->subject.
$variables['title'] = isset($variables['block']->subject) ? $variables['block']->subject : '';
}
Would it be possible to make the next version compatible ?
Thanks !
Comments
Comment #2
johnalbinForm the Clean Markup project page:
It looks like there is no way to make a theme "compatible" with Clean Markup. You have to manually copy over the module's block.tpl.php. That's a bad design on their part.
Comment #3
seren10pity13 commentedHi,
Thanks for answering.
But I know I have to copy the template file, and I dit, that's not the point :
Even when using their template, this is not working with Zen, because Zen's process function erase the $variable['title'] to set it's own markup, so the markup defined in the module settings can't be applied, and the template file never recieves the right variable to do it's job...
Why did the process function redefine the title variable instead of using the default one in the first place ?
Thanks,
Seren