Hi there,
i noticed, that there is no space added to body classes when u view user profiles. I had set $classes.$page_classes in my teplates and it works fine. But for some reason, there is no space added between classes when viewing user profile page so i need to update to $classes.' '.$page_classes; . It's a detail, that there is always added space to the end of class attribute, but it's strange behaviour. Also it should work same in all places.

Maybe it's incompatible with profile content module, but i cannot try to disable it, cause it's on production site.

Comments

boreg’s picture

Very sorry for mystification. Noticed that it works same on all places - contains just own classes, separated by space. Still, it'll be more comfortable to do some basic check at the end of returning function like:

$page_classes = (isset($page_classes)) ? ' '.$page_classes : $page_classes;

Or sipmly update documentation to warn users how exactly are the classes added - without spaces from right and left.

Btw thanx for the great module ;) I feel free to delete this issue after updating documentation to avoid misinformationing.