1

I have an array that I stock in the browser's storage. I retrieve it in Javascript.

I'd like to use those values to display a view. They IDs represent a nid.

I already created a view, took a wildguess and decided to use the contextual filters, allowing me to pass parameters in the URL.

But now, I'm stuck.

Any hints/tips ?

Thank you

0

Don't use Contextual filters in this case, cause they are sent in url - use exposed filter.

Exposed filter will create form, which you can fill in and submit by js-code. Turn on AJAX fro view and filters will also work via AJAX.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.