Active
Project:
Contextual links
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Jan 2011 at 08:59 UTC
Updated:
24 Jan 2011 at 09:23 UTC
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
Comment #1
boreg commentedVery 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:
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.