Skip to main content
added 228 characters in body
Source Link
Felix Eve
  • 6.3k
  • 2
  • 25
  • 57
  1. Create a view that shows a list of templates.

  2. Add a relationship to the actions content type (Entity Reference: Referenced Entity via field_related_action).

  3. Add a relationship to the files content type (join type referencingEntity Reference: Referencing entity via field_related_action).

  4. Create a contextual filter based on the current nodes nid. When you create the filter then When the filter value is NOT available select Provide default value and choose content ID from URL. Also this filter should be for the second join to the file node type.

  5. Set that view to show in a block on each files page.

  1. Create a view that shows a list of templates.

  2. Add a relationship to the actions content type.

  3. Add a relationship to the files content type (join type referencing entity).

  4. Create a contextual filter based on the current nodes nid.

  5. Set that view to show in a block on each files page.

  1. Create a view that shows a list of templates.

  2. Add a relationship to the actions content type (Entity Reference: Referenced Entity via field_related_action).

  3. Add a relationship to the files content type (Entity Reference: Referencing entity via field_related_action).

  4. Create a contextual filter based on the current nodes nid. When you create the filter then When the filter value is NOT available select Provide default value and choose content ID from URL. Also this filter should be for the second join to the file node type.

  5. Set that view to show in a block on each files page.

Source Link
Felix Eve
  • 6.3k
  • 2
  • 25
  • 57

  1. Create a view that shows a list of templates.

  2. Add a relationship to the actions content type.

  3. Add a relationship to the files content type (join type referencing entity).

  4. Create a contextual filter based on the current nodes nid.

  5. Set that view to show in a block on each files page.