Drupal 7
- Is it possible to get the current pages Node name and dynamically use it for a view using node reference? I have a content type called product and I am going to add a view to this content type that will show a list of image content types that have a node reference field set to the product content type.
For example:
"Furniture" page - content type "Product"
"Clothing" page - content type "Product"
"Image" content type - "Image 1" w/ a node reference field of "Furniture"
"Image" content type - "Image 2" w/ a node reference field of "Clothing"
"Image" content type - "Image 3" w/ a node reference field of "Clothing"
"Image" content type - "Image 4" w/ a node reference field of "Furniture"
So when I go to the Furniture product page my view will have Image 1 and Image 4 in the list and if I got to Clothing product page it will show Image 2 and Image 3.
If this needs more explanation please let me know.