(FYI: Good at HTML / CSS, Know very little about php and Drupal)
Okay I am tring to do something and would like a little help.
I want a banner before the TITLE of a section of content based on the catagory it is tied to...
To look something like this
=====================
Baner
=====================
Title of the Content
Submitted by me today
Content
I have a Okay solution, and the second would be an ideal solution.
Okay solution,
So I have a question, is there a way to get only ONE $terms if the content has more than one?
I ask because at best I could add to the node.tpl.php
<img src="../images/<? php print $tersm(1) ?>.png" width="63" height="63" />
I am assuming the (1) would just give me the one term, and that I would have images in the folder that would match the terms....
This is what I am tring to do, anyone have any clue how to make this happen for real, right now this is all fake...
Ideal Solution
I want to do the same thing, but I also want to wrap the whole piece of content, and wrap it into its own CSS. I want to have a CSS sheet that will have .somethings that match the catagory that I use. So some of the posts would be on a diff background.
You can see something that I am tring to do by taking a look at this WP driven http://thinkprogress.org/
Can anyone offer some help on this, expecialy the just selecting one term?