L
L
Leshiy666132017-07-15 10:38:07
MODX
Leshiy66613, 2017-07-15 10:38:07

What could be the reasons for modx output filters not working properly?

Simple lines for withdrawing the limit in the template.



Let's say the resource limit on the page is 10, but the placeholder gives a value even if limit=5 or doesn't give anything for any values, depending on the filter conditions.
It's just that output works as it should, and no filters work as they should.
What could be the problem?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Kuznetsov, 2017-07-15
@DarkRaven

It seems to me that the problem is in the types when comparing. In the final, strings are compared, not numbers.
I can only advise you to add your own filter to the output (in plugins), where you will control the entire process.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question