Community guidelines
Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.
Stefan Newcomer
@stewag · Joined 9 years ago · 7 posts · 1 topics · 0 reputation
Badges
Recent posts
-
SimpleSearch stopped working after 1.10.2->1.13.0 update
· 9 years ago
So I should add: {% block bottom %} {{ assets.js('bottom') }} {% endblock %} to my base.html.twig?
-
SimpleSearch stopped working after 1.10.2->1.13.0 update
· 9 years ago
You are correct. It works if I put your code snippet at the end just before /body
-
SimpleSearch stopped working after 1.10.2->1.13.0 update
· 9 years ago
Yes. URL is unchanged.
-
SimpleSearch stopped working after 1.10.2->1.13.0 update
· 9 years ago
I used: {% do assets.addJs('plugin://simplesearch/js/simplesearch.js') %} Your proposal has the same effect: I can see the script in the source and clicking the path shows the JS source. Still, search
-
SimpleSearch stopped working after 1.10.2->1.13.0 update
· 9 years ago
Could it be that simplesearch.js is not loaded?
-
SimpleSearch stopped working after 1.10.2->1.13.0 update
· 9 years ago
Yes. I can test that by editing the URL. The searchbox code (user/plugins/simplesearch/templates/partials/simplesearchbox.html.twig) changed. (Sorry the forum software does not let me post the code).
-
SimpleSearch stopped working after 1.10.2->1.13.0 update
· 9 years ago
Running Grav 1.3.2 After update no results page is shown, only URL changes: With 10.0.2 URL = /search/query:bla Content is list of results With 1.13.0: URL = /?searchfield=bla Content is unchange