I would like to build a particular View to "Find Something". But after several attempts I need help.
I managed to do it by hacking the Views module, but I would understand if it can be done via user interface (not a fan of modules' hack).
Here is what I have:
Content type B,
Content type with nodereference A to node B.
Example:
B = bands,
A = CD with, among other fields, the nodereference to the band (node B).
Here's what I get from my View:
Display Page: exposed filter "Search: Search Terms" and the result is then filtered with "Node: Type = A", "Node: Published = Yes" and ordered using "node Stats: Views total", for example.
Display Attach: exposed filter inherited from the display above, the nodes are filtered to "Node: Type = B".
SO, the user searches for a term and cd appear above (the page display) and bands below (the attach display).
Up to here nothing difficult. But I want that every time I see a cd from the search, the display attached (below) shows also the band connected via nodereference (other than those which would arise as a result of research).
Here I got stuck! I tried using "Relations" and "Arguments" but probably I don't have a thorough knowledge of these two pieces.
The point is that I can not get both results at once. I mean, what I can get from the Attach Display are:
1) Bands linked to the cd I found in the display Page
or (that is an exclusive OR)
2) Bands from the exposed filter.
While I'd like to see both, and without duplicate.
Any suggestions?
Comments
Exposing filters
I'm looking for an answer to something similar as well. Have you checked this module out? I wonder if it can help? If you scroll down the page a bit, it gives some additional ways it can be used.
It's called Better-Exposed-Filters. Sorry, I lost the link....
Hélène
I'm also after a similar thing
Did anyone find a solution?