Hello people,
I'm using CCK to create a profile page for an animal rescue website but I can't seem to create a field that will just display either the title or omit the title and let me enter 2 words.
Some of the animals need to be re-homed quicker than others so I need a way of just having some text in the profile saying "Special Appeal". I tried creating this with the "Single on/off checkbox", the idea was if the box was selected it would display the title and nothing else, but after reading numerous posts about how the on/off box works I realised that I wasn't going to achieve what I wanted. I can get it to display "Special Appeal" but unfortunately it says it twice because it's reading the title and the Allowed values list.
Anyone know how to display single lines of text without a title? Or just display a title.
Hope that was clear.
Thanks
Comments
I'm an idiot
I'm a retard. Forget I asked, I know what to do.
I just changed the field label to hidden in Display fields and changed the widget to select list.
CSS to fields?
Acctually while I'm here, can you apply different CSS values to each individual field? If I wanted Special Appeal to be red and everything else black is that easily achievable?
Believe it or not I am an experienced designer/programmer, just never used Drupal before.
Yes: ID contains field name
Yes, you can. Every field gets an id with the name of the field in it, so you can use the field name in css for styling.
Mark
Thanks
Thanks Mark, I thought it would be possible.