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

1 Answer 1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

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