1

I'm creating a portfolio page, and I have a summary list of project entries displayed. At the top of the page, I've got a dropdown displaying a Category field. e.g. craft.categories.group('industry')

My question: Is it possible to display/filter entries of a particular category dynamically/immediately when a dropdown entry is selected (using only Twig)? Or do I have to use Javascript?

Sorry for this basic question.

1 Answer 1

1

You will need to use some JavaScript, since all twig code is parsed on the server and sent to the browser as HTML.

Your Answer

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

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