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


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.

|improve this answer|||||
  • Contextual filters. Thanks, I also just read it. So I create a view, and display it on block – Permana Mar 2 '14 at 23:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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