M
M
medvedgoff2021-05-23 17:45:07
MODX
medvedgoff, 2021-05-23 17:45:07

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>


on another site, this one is still connected
<script type="text/javascript" src="/assets/components/tag_manager2/js/require.js"></script>

I tried it, but I don’t want to manually write

the basic filter output code:


<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>


what could be the question?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question