Hello,
can you please tell me what I am doing wrong? I am trying to make ajax filtering without reloading the page when clicking filter items, but i fail in displaying them inside myprojects div.
Console is showing correct information like this:
test.json as well as test.json/?filter=Objects and other filters display correct data.
This is my controller test.php:
This is my template test.php:
This is my snippet my-project-test.php:
This is my json template test.json.php:
And finally my test.js:
So i am unable to fill myprojects div with filtered items, it just becomes empty after clicking one of the filters. Maybe someone can point me in the right direction?