By newbuntu on
I would like to know a least intrusive way (less impact on anything else) to display CCK field label and value on the same line. By default they span across on different lines, it takes too much space.
thanks in advance.
I would like to know a least intrusive way (less impact on anything else) to display CCK field label and value on the same line. By default they span across on different lines, it takes too much space.
thanks in advance.
Comments
=-=
go to administer -> content types
click on manage fields next to the content type you want to change
click on the display fields tab
use the label drop down to adjust as you see fit. (in this case, inline)
save the form
super, thx a lot!
super, thx a lot!
print inline label
Hello VeryMisunderstood ,
I just want to print field label inline and could not print it out in drupal6.8 although I adjust the label on the drop down box in display fields tab under content type. I could not able to find the way to print field in case it has only one value, so I tried the following code ( for the authorname field):
foreach ((array)$field_authorname as $item) {print $item['view']}and the output is only the value of the field without the label.
Do you know any way?please advise
Thanks
Thuan
=-=
I can't code on the fly. However it seems to me you would need an if / else in your code if it were to work. I've never tried.