Hi Everyone,

I was hoping to get some of your expertise on this issue.

I have a Taxonomy called Organisation Names. In each Organisation name entry, there is an sub-field called Org Code. It looks something like this

Org Name: Melbourne Drupal Fanclub (this taxonomy term is selected in the content type)
--- Org Code: MEL-001 (this is a subfield of the taxonomy term)

When users are creating page, they are selecting the organisation name which is taken from the taxonomy called orgnisation name. They don't need to reference the Organisation Code.

However, when the view is generated in the table format. I was wondering how I could get the Org Code, which is a sub-field of an Organisation Name to display. It looks like I can only display the top level taxonomy term in a view, but not any of it's child fields. Does anyone know how I could get around this?

Ideally in the view, instead of displaying Melbourne Drupal Fanclub, I'd like to display it's code which is MEL-001. How do I do this though?

Cheers
Sanny

Cheers
Sanny

Comments

nevets’s picture

You should be able to select the view mode for a term reference field, then under the "Manage Display" tab for the vocabulary, configure which fields you want to display.

SannyVeloo’s picture

Hi Nevets,

Thanks for your reply. Sorry if I wasn't clear in my explanation. What I am trying to do is to allow the Views to display a field of a Taxonomy term reference in a table view to be used in a Block.

At the moment I can only display the taxonomy term, but none of it's sub-fields in the table.

Regards
Sanny

nevets’s picture

What is your view set to display, content, taxonomy terms or something else?