Blueprint's hook_preprocess_page implementation blueprint_preprocess_page() in blueprint/template.php sets the $vars['meta'] variable to an empty string before additional logic adds to the $vars['meta']. By setting $vars['meta'] to an empty string, blueprint causes any contents of $vars['meta'] set in a previously invoked hook_preprocess_page() implementation to be deleted.
In my case I am adding a meta tag in a MODULE_preprocess_page() implementation and with blueprint as the theme, this content in the $vars['meta'] variable is lost.
Any variable in the $vars array that is passed to blueprint_preprocess_page() should never be unset but instead appended to.
patch simply comments out the $vars['meta'] = '';
Comment | File | Size | Author |
---|---|---|---|
blueprint-hook_preprocess_page-fix.patch | 523 bytes | jaydub |