Answer the question
In order to leave comments, you need to log in
Problem with filtering in tagmanager2 in modx revo?
Good time of the day. The client refused Ajax filtering. Now I do the usual filtering by documentation
<div id="filters">
<form action="" method="get">
<input type="hidden" name="sortby" value="pagetitle" />
<input type="hidden" name="sortdir" value="asc" />
<input type="hidden" name="limit" value="10" />
<button type="submit">Подобрать</button>
<button type="button" onclick="window.location.href = window.location.pathname; return false;">Сбросить</button>
</form>
</div>
==================================================================
<div class="sorting">
<select class="f_sortby" name="sortby">
<option value="pagetitle">по названию</option>
<option value="price">по цене</option>
<option value="publishedon">по дате</option>
</select>
<select class="f_sortdir" name="sortdir">
<option value="asc">по возростанию</option>
<option value="desc">по убыванию</option>
</select>
<select class="f_limit" name="limit">
<option value="10">10</option>
<option value="20">20</option>
<option value="40">40</option>
</select>
<div class="clearfix"></div>
</div>
<div id="products">
<div class="clearfix"></div>
</div>
<ul class="pages">
</ul>
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