Trying

Trying

С нами с 05 марта 2016; Место в рейтинге пользователей: #806

Slider в mFilter2 работает только с целыми числами

Привет,

Можно в водить диапазон 4.9 — 8 и это будет понято как 4-8.

Сделал Step 0.1 в jQuery, но цифры округляются в целые 2 3 4 5.

Как сделать чтобы точность была бы одна десятая?

Спасибо!
Trying
14 декабря 2021, 18:34
modx.pro
500
0

Сортировка !mFilter2 по NATSORT

Здравствуйте,

Сейчас сортировка !mFilter2 ( &sort=`xxxxxx:asc`) резултатов такая:

0.1, 0.2, 0.3, 1, 10, 11, 12, 15, 2, 3, 4.

Что и где нужно изменить чтобы сортировка была по NATSORT, то есть:

0.1, 0.2, 0.3, 1, 2, 3, 4, 10, 11, 12, 15.

Спасибо.
Trying
26 февраля 2020, 15:26
modx.pro
1
423
0

Line break or new line in snippet template?

Hello, maybe it is a strange question, but is there a way to make:

&tpl=`@INLINE <li[[+classes]]><a href="[[+link]]">[[+menutitle]]</a>[[+wrapper]]</li>`
display in html not in one line
<li></li><li></li><li></li>
but in new lines:
<li></li>
<li></li>
?

Thanks!
Trying
07 марта 2016, 16:07
modx.pro
3 350
0

Modx Multidomain when domains are not aliases

Hello,

I will write in english, because I don't have russian keyboard, but feel free to reply in russian.

I have domains on one server with the same IP address, but in different directories (virtual domains?):

/same/same/domains/maindomain.com/public_html/ — modx install here
/same/same/domains/domain2.com/public_html/ — copies of .htaccess, index.php and config.core.php here
etc

Trying
05 марта 2016, 10:14
modx.pro
1 934
0