By bdtushar on
Hello
I m using drupal 7.10. I have field tag. tags are showing line by line. I want to show this tags in one line. Is it possible. if possible then how. I tried to search but didnot find any solution.
Hello
I m using drupal 7.10. I have field tag. tags are showing line by line. I want to show this tags in one line. Is it possible. if possible then how. I tried to search but didnot find any solution.
Comments
There are probably a few
There are probably a few different approaches to theme this the way you want.
First perhaps try some CSS to fix this, that may be all that's needed. You could also whip up some JQuery to do this also. A third way would actually be to create a custom template (.tpl) file for this in your site's Theme folder. For that you can look into the Themer module. http://drupal.org/project/devel_themer. I'm sure there are also other ways that I have not mentioned.
Danny Englander | Twitter | Instagram
try Textformatter or Display Suite
Hi,
Easy option -
Text Field Formatter module - http://drupal.org/project/textformatter
enable and just go under manage display, select LIST to get comma widget
Another way is -
You can update css styles without tpl files using the Display Suite module.
A) Download DS dev version
B) Enable "field templates" from the Extras section - admin/structure/ds/vd
C) Add css styles - admin/structure/ds/styles in the - Styles for field area
something like
STYLE_inline|display:inline
D) now under 'format column' in the 'manage display' for your content types section
admin/structure/types/manage/CONTENT_TYPE/display/full
you will see 'field display' link that will allow you to add the style you define in the styles section.
Hope that helps.