Closed (fixed)
Project:
Aurora
Version:
7.x-3.4
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
6 Nov 2014 at 23:07 UTC
Updated:
25 Feb 2015 at 20:04 UTC
Jump to comment: Most recent
Aurora uses the $title variable to store the page title that is then used in Aurora's block template for the Blockify Page Title.
else if ($vars['block']->delta == 'blockify-page-title') {
$vars['theme_hook_suggestions'][] = 'block__page_title';
$vars['title'] = drupal_get_title();
}
Unfortunately, if a site is also using the Clean Markup module (as is recommended), the template for Clean Markup Blocks uses the $title variable for the block title.
The variable naming conflict generally results in an empty page title within the Blockify Page Title block.
Using a more specific variable name corrects the issue.
else if ($vars['block']->delta == 'blockify-page-title') {
$vars['theme_hook_suggestions'][] = 'block__page_title';
$vars['page_title'] = drupal_get_title();
}
Comments
Comment #1
iamcarrico commentedI have not used the Clean Markup module, and cannot speak to how it does things. I will need to look at any effects of setting up the template this way that might effect other users before taking action on this.
Comment #3
iamcarrico commentedPatched, committed.