Hi everyone,
i'm currently facing a problem on how to fix it.
I have a content type "Item" this item have a field collection "attributes"
this field collection is unlimited number of
Select list "attribute name"
Textfield "attribute value"
I can make all that displayed in the views field but i want a more advanced filtering exposed to the users.
I want to make the user able to filter items based on 1st attribute names and its value, then filter based on a 2nd attribute names and its value..
All i could achieve now is making a filtering based on attribute names OR attribute value, but i'm unable pair those.
Any one have an idea or a path i should follow ?
Comments
Comment #1
earwax commentedHere's a path: write your own module for this. I encountered similar limitations in Views, so I end up writing my own module, form, and queries with my module. BAM, problem solved!
Comment #2
eugeneak commentedI hope somebody can help or direct me to a thread that is appropriate for this issue. I am building a collection of sheet music accompanied by a sample audio file, played by soundmanager2. A PDF file and an audiofile are linked in a field collection. The resulting table view works as I expected.
However, when I created an exposed filter (on any field, Title, for example), it works only with a default value in it. If you enter any value in the filter text box and click Apply, this action returns the front page of the site.
By accident only, I found out that if you turn on AJAX on the view, the filter returns the required subset of records and appears to work fine. Why ?....
I would have been happy with that, but I discovered an issue with the filtered page. The soundmanager2 applet which works as expected on an unfiltered page will not work properly on any filtered page.
Instead it opens a new page with whatever player your browser chooses and plays the file there. On an unfiltered page when you hover over the soundmanager2 button, no link is displayed on the status bar of the browser. On a filtered page, when you do the same, you will see a link to your sound file. When you click Back on an open player your browser had chosen to play the file, it returns not to the filtered page from which you started playing, but to the original unfiltered page.
I would appreciate any help or clarification on the issue. I am not good enough to write my own module, and parts of this solution work very elegantly.