I have attached code for a D7 version of this useful module.

CommentFileSizeAuthor
node_class.tgz7.27 KBxenophyle

Comments

Anonymous’s picture

Thanks. Do you need to modify node.tpl in this ?

xenophyle’s picture

No, it seems that hook_preprocess_node() takes care of adding the class to the node template.

drnikki’s picture

Status: Active » Closed (fixed)

already a committed branch.

drnikki’s picture

(wrong issue, sorry)

xenophyle’s picture

Status: Closed (fixed) » Active

It seems that this was closed by mistake...?

drnikki’s picture

Status: Active » Closed (fixed)

Nope - there's a 7x release available for download now.