if you turn block caching on, youll sometimes get an unstyled block on some users
clear cache -> refresh on one user, it appears ok, for anonymous it wont load up the css, and the other way around, if anonymous gets the css loaded, an user wont
i havent tested this throughly, seems like a problem with the way it adds the css to the page when the block is cached, maybe should in hook_init?

CommentFileSizeAuthor
#2 patch01_861718.patch1.46 KBpsicomante

Comments

psicomante’s picture

Status: Active » Needs work

i guess it should be added in hook_init, but i would like to find a way to add the css only in that pages where the block is shown.

sorry for the eng :(

psicomante’s picture

Status: Needs work » Needs review
StatusFileSize
new1.46 KB

tried this patch