0

I just starting using Drupal and I have few question.

Currently I have two Content Types: Project and Task.

Project's field is:

  • Project title
  • Body
  • Date

Task's field is:

  • Task title
  • Body
  • Project (field_project), Entity reference

And I create a view to display List of project.

The problem is, How to display List of task when a project detail is viewed

1

1 Answer 1

0

Create a view with title list in Task content type, in this create a Contextual filters with field_project. Take the filter value from url arguments.

1
  • Contextual filters. Thanks, I also just read it. So I create a view, and display it on block
    – Permana
    Commented Mar 2, 2014 at 23:49

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.