0

I am creating a Drupal site that is used as a task manager; each task node has the ability to reference another task node as a parent.
In the task list view, I would like to nest the same or similar view within each row, displaying that tasks children.

I've done something similar before by theming; however, I'm wondering if is there a standard, or emerging way of accomplishing this within the Views interface with a third-party module.

2
  • Ideally I envision a field, similar to the Global: View Area, which could accept contextual filters as tokens, not that such a thing necessarily exists, but it would be cool I think :)
    – DanH
    Commented Aug 14, 2011 at 13:07
  • i had installed node reference field. module but cant see this as widget in my cck manage field menu ..please help to find it out
    – user3531
    Commented Oct 20, 2011 at 10:17

1 Answer 1

3

You can solve it with Viewfield.

View arguments are supplied through tokens.

So, what you should do:

  1. Add new type of your view (new Block, for example) and add contextual filter by node reference field.
    You can modify display format etc.
  2. Create for your tasks new field "View Reference" and set your new display type of view. Check «Always use default value».
  3. Set [node:nid] in Arguments input.

Tested on D7.

1

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.