Not sure that is the best title...
I want add a field to a content type eg. Priority. My preference would be to make this a taxonomy reference (with Autocomplete term widget (tagging)).
Then probably through a preprocess I would like to add any terms entered as classes to the node (in particular when a teaser but that's not important).
I am not the world's greatest php coder and apologise if this doesn't make a great deal of sense. I have been banging my head against the wall for three days now and any help would be greatly appreciated :)
I gather it has something to do with
$variables['classes_array'], but I don't seem to be able to put my finger on it.