I have attached code for a D7 version of this useful module.
Thanks. Do you need to modify node.tpl in this ?
No, it seems that hook_preprocess_node() takes care of adding the class to the node template.
already a committed branch.
(wrong issue, sorry)
It seems that this was closed by mistake...?
Nope - there's a 7x release available for download now.
Comments
Comment #1
Anonymous (not verified) commentedThanks. Do you need to modify node.tpl in this ?
Comment #2
xenophyle commentedNo, it seems that hook_preprocess_node() takes care of adding the class to the node template.
Comment #3
drnikki commentedalready a committed branch.
Comment #4
drnikki commented(wrong issue, sorry)
Comment #5
xenophyle commentedIt seems that this was closed by mistake...?
Comment #6
drnikki commentedNope - there's a 7x release available for download now.