Answer the question
In order to leave comments, you need to log in
Tagmanager2 checkboxes not working in modx?
Good afternoon!
I did it according to the instructions, then copied the settings from another working site and still does not work. The point is the following. When you click on the checkboxes in the filter parameters, there is no reaction, no parameters for filtering are added to the address bar. If I manually prescribe them, then it filters.
For example, this is www.link.ru/stranica?f_sob_place[]=lake&page=1
The following is included in the page code. scripts from tagmanager
<script type="text/javascript" src="/assets/components/tag_manager2/js/web/jquery-ui-1.10.3.custom.min.js"></script>
<script type="text/javascript" src="/assets/components/tag_manager2/js/web/jquery.history.js"></script>
<script type="text/javascript" src="/assets/components/tag_manager2/js/web/filters.js"></script>
<script type="text/javascript" src="/assets/components/tag_manager2/js/web/view_switch.js"></script>
<script type="text/javascript" src="/assets/components/tag_manager2/js/require.js"></script>
<div id="filters">
<form action="" method="get">
<input type="hidden" name="page_id" value="2" disabled="disabled" />
<button class="btn btn-info" type="button" onclick="tmFilters.resetFilters(); return false;">Сбросить фильтр</button>
</form>
</div>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question