A
A
Alexander Buintsev2022-02-21 19:36:06
MODX
Alexander Buintsev, 2022-02-21 19:36:06

Modx component msearch2 not displaying total?

mSearch does not display the total number of results, displays the placeholder and but total does not want to
6213bf4a0b262694780076.png

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Lunegov, 2022-02-26
@AlexMerf

Checked on a test hosting. Indeed, the number of results is not issued.
Solution options.

  1. Write to those support and wait for updates.
  2. Wrap mSearch2 snippet in pdoPage:

A
Alexey Golyagin, 2022-02-24
@webrevenue

<span class="search_cont"></span>change to

<span class="search_cont" id="mse2_total">{$total ?: 0}</span>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question