I have a situation where the colour scheme of a node depends upon which taxonomy terms have been assigned to it.
However, if a node has more than 1 parent taxonomy term assigned to it, this is a certain colour scheme of itself. I'm not sure of the technical name but by parent taxonomy term I mean the top level taxonomy term, as there will only ever be 2 levels deep, so I call this parent taxononomy term.
So I need a certain html class to be created for these special nodes who have more than one taxonomy term assigned to them.
I was thinking even to use a hidden field and to write a module which checks how many parent taxonomy terms have been assigned before creating or saving this content type in question, and then simply adds a value to this hidden field, I could then use this field to add a class to my content in views.
Am I allowed to ask for suggestions here for this, I am sorry if this is against rules