51 минута назад
Важно решить как управлять страницами при мультиязычности:
— если нет перевода, то не отображать страницу
- если нет перевода, то показывать 404
...
pbStudio: Подключаем мультиязычность в PageBlocks 3
Сегодня в 09:22
Привет, Дима! Мне тоже пришлось немного поискать, потому что пока что ещё не так много было выпущено. И, честно говоря, я не могу точно сказать, когда...
MODX/AI Hackathon Part 2 (27 марта) 5
Вчера в 13:09
Вопрос решил. Переустановил modx… И чудо — всё заработало…
Хочу реализовать мультиязычность и мультидоменность - на русском сайт в RU, на английском COM... 14
Вчера в 11:54
Извините, что я тут заспамила, но ответ: положила файл и все заработало.
AdminTools и ош. 500 8
21 апреля 2025, 22:57
Хорошо бы об этом еще один урок подготовить)
PageBlocks 2.6.0. Настройка меню MODX и гибкое управление страницей пользователя 13
21 апреля 2025, 21:21
1. Создавать копии страниц не надо — в страницы появится вкладка «Локализация», в ней будут отображаться переведенные копии данной страницы. «Перещелк...
Polylang 144
21 апреля 2025, 14:20
Я же готовый пример скинул — пользуйся. Могу лишь добавить, что $c->select() и все другие методы можно вызывать сколько угодно раз.
Вывод перечня заказанных товаров в таблицу с заказами minishop2 (панель менеджера) 27
18 апреля 2025, 16:30
Добрый день.
Удалите плагин vpSystem от пакета.
[VirtualPage] - Виртуальные страницы. 183
18 апреля 2025, 08:40
Хочестя в тикеты при сохранении комментария добавить кнопку «проверить на ошибки» и при нажатии на нее проверить комментарий на ошибки в нейросети сох...
pbStudio: Создаём сайт с PageBlocks – настройка и главная страница 6
Права доступа к /core/config/config.inc.php изменила на 600 (благодаря этому одна из ошибок исчезла). Но в редактор ресурсов по-прежнему не войти — ошибка 500.
Можно ли что-то еще сделать, не перезаливая сайт?
Вот последний фрагмент лога ошибок modx
[2017-12-14 12:14:31] (ERROR in resource 310 @ /home/c/cx13714/humanitar/public_html/core/model/modx/modparser.class.php: 1352) Bad link tag `[[~185]]` encountered
[2017-12-14 12:14:32] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:14:32] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:14:32] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:14:32] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
[2017-12-14 12:14:41] (ERROR in resource 238 @ /home/c/cx13714/humanitar/public_html/core/model/modx/modparser.class.php: 1352) Bad link tag `[[~185]]` encountered
[2017-12-14 12:14:42] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:14:42] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:14:42] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:14:42] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
[2017-12-14 12:14:43] (ERROR in resource 61 @ /home/c/cx13714/humanitar/public_html/core/model/modx/modparser.class.php: 1352) Bad link tag `[[~185]]` encountered
[2017-12-14 12:14:44] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:14:44] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:14:44] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:14:44] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
[2017-12-14 12:14:50] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:14:50] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:14:50] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:14:50] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
[2017-12-14 12:14:56] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:14:57] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:14:57] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:14:57] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
[2017-12-14 12:14:57] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:14:58] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:14:58] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:14:58] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given
[2017-12-14 12:15:01] (ERROR in resource 9 @ /home/c/cx13714/humanitar/public_html/core/model/modx/modparser.class.php: 1352) Bad link tag `[[~185]]` encountered
[2017-12-14 12:15:05] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #2 is not an array
[2017-12-14 12:15:05] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 159) PHP warning: array_merge(): Argument #1 is not an array
[2017-12-14 12:15:05] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 164) PHP warning: usort() expects parameter 1 to be array, null given
[2017-12-14 12:15:05] (ERROR @ /home/c/cx13714/humanitar/public_html/core/cache/includes/elements/modsnippet/52.include.cache.php: 167) PHP warning: array_slice() expects parameter 1 to be array, null given