1

I am trying to figure out how to display a field in a joined table, but documentation isn't that great or obvious.

I have my base custom table with a tid field that ties to the taxonomy_term_data table. I want to display the term name, based upon my tid field. How to I specify that name field for display in my view?

1 Answer 1

1

You'll need to add a relationship to that table, then add the field from that table to your view.

2
  • I'm creating the view programmatically. I call views_embed_view() to render it.
    – vintorg
    Commented Jan 12, 2013 at 19:56
  • It's the same process with views_embed_view, but done programmatically with the views api. Commented Jan 14, 2013 at 21:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.