Drupal Answers is a question and answer site for Drupal developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have installed the CustomField module. I have a view and I'd like to add a new column in a table in the view. The content of this column is a result of a query to a table different to node. Is this possible with this module?

I am using Drupal 6.

share|improve this question

You can set up relationships in views to pull data from other tables should you have to. There's a screencast from Drewish here on how they work and how to set them up.

Basically, you'd need to set up a relationship based on a part of the current data in the row. After this, more data is exposed to you in the fields section of views.

If I'm misunderstanding your question and you'd just like to embed a view withing a view, then check our the Views Field View module.

This module allows you to embed a view as a field in a view.

This view can accept arguments from fields of the parent view using tokens.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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