Hi

Is there a way to format how terms are listed in a content taxonomy field? I cant seem to get each term to be listed side by side or comma separated, instead they end up one below the other. For eg.

Instead of:

Author: Author1
Author2
Author3

To:

Author: Author1, Author2, Author3

Thanks..

Comments

that0n3guy’s picture

Off the top of my head I dont know of an simple way to do it. But you could create a view, with all the terms as inline fields. Then tell the content taxonomy field to be hidden from display and theme in the view in its place.

Instead of theming the node display (if that is confusing) you could use panels to replace the content type display and easily add a view instead of the content taxonomy field.... that is actually really really easy to do (no programming involved).

that0n3guy’s picture

My post above might be kind of confusing for a newbie.... so here is a live example:

http://programmablecoffeemaker.org/products/bosch-tassimo-single-cup-cof...

The page is displayed via panels (the tags are below the image).
Here is the edit page: http://programmablecoffeemaker.org/sites/programmablecoffeemaker.org/fil...

You can see that it is just a normal cck content type with a vocabulary called 'tags'.

This image is the panels page showing I have some stuff displaying in each pane. The arrow show the view I've made.
http://programmablecoffeemaker.org/sites/programmablecoffeemaker.org/fil...

I hope this helps you out.

-Peter

modeezy’s picture

Thanks alot for the examples, been trying to figure out what you said in the first post haha. I got a better picture and idea of it now :)

that0n3guy’s picture

Yeah, I figured it was confusing.... and new I had an example out there.

Pictures really do equal 1000 words. :)