Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
With Drupal 7.34 and a Zen sub-theme I'm not getting any body classes from this module. Am I correct to assume that as long as a Global Filter block exists anywhere on the page, I should have body classes? I've switched to Bartik and the problem persists, so it's not specific to my theme.
I'm using a single Global Filter based on a taxonomy selection with 3 options, assigned to a header region as a block, list of hyperlinks widget. Session API is being used, if that makes a difference.
Comments
Comment #1
RdeBoerThanks for your report.
Yep, you should have body classes...
Looks like a bug indeed.
Rik
Comment #2
errand CreditAttribution: errand commentedHello, it's true.
No classes added
Comment #3
errand CreditAttribution: errand commentedHello there.
replacing
$filter_names = global_filter_active_filter_names(TRUE);
with
$filter_names = global_filter_active_filter_names_list(TRUE);
fixes this issue.
Cheers
Comment #5
RdeBoerI've checked in a similar fix. Available now in 7.x-1.x-dev
Thanks @errand