So here's what I'm trying to do...
I have two content types, one called 'gallery' and the other called 'image' and, using CCK each 'image' has a custom field called 'field_insert_into_gallery' which is a node references to a piece of 'gallery' content.
I have a Block View which I want to appear on all 'gallery' and all 'image' content. Right now I'm just trying to get it to work on 'gallery' content. What I want this block to do is pull in a list of all the 'image' content that references it. So if we're on 'gallery' with a NID of 86, I want the block to pull in all 'image' content that has a 'field_insert_into_gallery' id of 86.
I'm trying to do this in the Argument Handler code. I have an argument type of 'field_insert_into_gallery'. I may already be doing something wrong there, let me know!
If everything is above is correct, I'm trying to wrap my brain around how to pull in another content type. The block is set to look for title and body fields filtered to published 'image' types. But I want to filter it even further down so it shows only 'image' types that have a node reference to the CURRENT gallery. Any tips on how to achieve this? Is argument code the right place?
Thanks in advance :-) I realize this is a brain workout.
Comments
Comment #1
sunSorry, unfortunately this support request is way too specific. Please have a look at the issue queue - Views maintainers are buried already. You might want to try to get further support at http://drupal.org/support. Additionally, the answer to your question might be covered in the handbooks at http://drupal.org/handbook/modules/views already.
If you were able to solve this issue on your own in the meantime, you might want to add the involved steps to this closed issue, so other users searching for a similar solution might find it.