12 декабря 2016, 11:25 Спасибо. С самого начала на группы разбить при помощи modx.ru/vopros-otvet/info/2916/ и уже эти результаты отбирать по where, это возможно? Вопросы / Вывод ресурсов по алфавиту 4 0
12 декабря 2016, 08:43 А как сделать, чтобы сперва выводились все ресурсы? А потом по клику на букву фильтровались? Можно ли отключить фильтр по клику на кнопку «ВСЕ»? Не совсем понятно как еще можно вывести букву по которой фильтруется… Тут modx.ru/vopros-otvet/info/2916/ за вывод букв отвечает переменная $char, но я не понимаю откуда эта переменная взялась. Вопросы / Вывод ресурсов по алфавиту 4 0
28 ноября 2016, 06:39 В вызове снипета pdoRecources добавьте &hideContainers=`1` при этом родителя нужно ставить, «бабушку или дедушку:))» Вопросы / Как вывести только внуков 1 0
31 октября 2016, 22:34 вывел с помощью getImageList Вопросы / Как вывести через pdoTools tv списком? 1 0
02 октября 2016, 18:09 Спасибо! Работает! Прошу прощения, промахнулся мимо стрелки, это можно как-то изменить? Вопросы / Как убрать переписывание url в адресной строке? 3 0
07 сентября 2016, 14:58 &where=`[«EventDate >= NOW()»]` работает! Спасибо! Вопросы / Помогите разделить вывод мероприятий по дате 6 0
07 сентября 2016, 08:34 0.0002420: pdoTools loaded 0.0002859: xPDO query object created 0.0012629: Included list of tvs: EventDate, EventImage 0.0004771: leftJoined modTemplateVarResource as TVeventdate 0.0004280: leftJoined modTemplateVarResource as TVeventimage 0.0006812: Added selection of modResource: SQL_CALC_FOUND_ROWS `id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `link_attributes`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `introtext`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `publishedon`, `publishedby`, `menutitle`, `donthit`, `privateweb`, `privatemgr`, `content_dispo`, `hidemenu`, `class_key`, `context_key`, `content_type`, `uri`, `uri_override`, `hide_children_in_tree`, `show_in_tree`, `properties` 0.0000188: Added selection of modTemplateVarResource: IFNULL(`value`, '') AS `tv.EventDate` 0.0000150: Added selection of modTemplateVarResource: IFNULL(`value`, '') AS `tv.EventImage` 0.0000629: Replaced TV conditions 0.0007839: Processed additional conditions 0.0015960: Added where condition: 0=TVEventDate.value >= NOW(), modResource.parent:IN(8,9,17,18,19), modResource.published=1, modResource.deleted=0 0.0000360: Replaced TV conditions 0.0002081: Sorted by modResource.publishedon, DESC 0.0000081: Limited to 4444, offset 0 0.0010068: SQL prepared "SELECT SQL_CALC_FOUND_ROWS `modResource`.`id`, `modResource`.`type`, `modResource`.`contentType`, `modResource`.`pagetitle`, `modResource`.`longtitle`, `modResource`.`description`, `modResource`.`alias`, `modResource`.`link_attributes`, `modResource`.`published`, `modResource`.`pub_date`, `modResource`.`unpub_date`, `modResource`.`parent`, `modResource`.`isfolder`, `modResource`.`introtext`, `modResource`.`content`, `modResource`.`richtext`, `modResource`.`template`, `modResource`.`menuindex`, `modResource`.`searchable`, `modResource`.`cacheable`, `modResource`.`createdby`, `modResource`.`createdon`, `modResource`.`editedby`, `modResource`.`editedon`, `modResource`.`deleted`, `modResource`.`deletedon`, `modResource`.`deletedby`, `modResource`.`publishedon`, `modResource`.`publishedby`, `modResource`.`menutitle`, `modResource`.`donthit`, `modResource`.`privateweb`, `modResource`.`privatemgr`, `modResource`.`content_dispo`, `modResource`.`hidemenu`, `modResource`.`class_key`, `modResource`.`context_key`, `modResource`.`content_type`, `modResource`.`uri`, `modResource`.`uri_override`, `modResource`.`hide_children_in_tree`, `modResource`.`show_in_tree`, `modResource`.`properties`, IFNULL(`TVeventdate`.`value`, '') AS `tv.EventDate`, IFNULL(`TVeventimage`.`value`, '') AS `tv.EventImage` FROM `modx_site_content` AS `modResource` LEFT JOIN `modx_site_tmplvar_contentvalues` `TVeventdate` ON `TVeventdate`.`contentid` = `modResource`.`id` AND `TVeventdate`.`tmplvarid` = 10 LEFT JOIN `modx_site_tmplvar_contentvalues` `TVeventimage` ON `TVeventimage`.`contentid` = `modResource`.`id` AND `TVeventimage`.`tmplvarid` = 8 WHERE ( TVEventDate.value >= NOW() AND `modResource`.`parent` IN (8,9,17,18,19) AND `modResource`.`published` = 1 AND `modResource`.`deleted` = 0 ) ORDER BY modResource.publishedon DESC LIMIT 4444 " 0.0007062: Could not process query, error #1054: Unknown column 'TVEventDate.value' in 'where clause' 0.0071490: Total time 6 553 600: Memory usage Вопросы / Помогите разделить вывод мероприятий по дате 6 0
07 сентября 2016, 08:07 снипет now: <?php echo date("Y-m-j" ." ". "H:m:s");это в шаблоне: [[pdoResources? &parents=`8` &tpl=`ImmediateEvent` &includeTVs=`1` &includeContent=`1` &includeTVs=`EventImage, EventDate` &processTVs=`1` &tvFilters=`EventDate>>[[!now]]` &limit=`4444` ]]не выводится вообще ничего:( Log: 0.0002301: pdoTools loaded 0.0000410: xPDO query object created 0.0000560: Added TVs filters 0.0004961: Included list of tvs: EventDate, EventImage 0.0004060: leftJoined modTemplateVarResource as TVeventdate 0.0003622: leftJoined modTemplateVarResource as TVeventimage 0.0007551: Added selection of modResource: SQL_CALC_FOUND_ROWS `id`, `type`, `contentType`, `pagetitle`, `longtitle`, `description`, `alias`, `link_attributes`, `published`, `pub_date`, `unpub_date`, `parent`, `isfolder`, `introtext`, `content`, `richtext`, `template`, `menuindex`, `searchable`, `cacheable`, `createdby`, `createdon`, `editedby`, `editedon`, `deleted`, `deletedon`, `deletedby`, `publishedon`, `publishedby`, `menutitle`, `donthit`, `privateweb`, `privatemgr`, `content_dispo`, `hidemenu`, `class_key`, `context_key`, `content_type`, `uri`, `uri_override`, `hide_children_in_tree`, `show_in_tree`, `properties` 0.0000181: Added selection of modTemplateVarResource: IFNULL(`value`, '') AS `tv.EventDate` 0.0000150: Added selection of modTemplateVarResource: IFNULL(`value`, '') AS `tv.EventImage` 0.0000730: Replaced TV conditions 0.0006220: Processed additional conditions 0.0011730: Added where condition: 0=`TVeventdate`.`value` > '2016-09-7 08:09:27', modResource.parent:IN(8,9,17,18,19), modResource.published=1, modResource.deleted=0 0.0000448: Replaced TV conditions 0.0001941: Sorted by modResource.publishedon, DESC 0.0000060: Limited to 4444, offset 0 0.0003991: SQL prepared "SELECT SQL_CALC_FOUND_ROWS `modResource`.`id`, `modResource`.`type`, `modResource`.`contentType`, `modResource`.`pagetitle`, `modResource`.`longtitle`, `modResource`.`description`, `modResource`.`alias`, `modResource`.`link_attributes`, `modResource`.`published`, `modResource`.`pub_date`, `modResource`.`unpub_date`, `modResource`.`parent`, `modResource`.`isfolder`, `modResource`.`introtext`, `modResource`.`content`, `modResource`.`richtext`, `modResource`.`template`, `modResource`.`menuindex`, `modResource`.`searchable`, `modResource`.`cacheable`, `modResource`.`createdby`, `modResource`.`createdon`, `modResource`.`editedby`, `modResource`.`editedon`, `modResource`.`deleted`, `modResource`.`deletedon`, `modResource`.`deletedby`, `modResource`.`publishedon`, `modResource`.`publishedby`, `modResource`.`menutitle`, `modResource`.`donthit`, `modResource`.`privateweb`, `modResource`.`privatemgr`, `modResource`.`content_dispo`, `modResource`.`hidemenu`, `modResource`.`class_key`, `modResource`.`context_key`, `modResource`.`content_type`, `modResource`.`uri`, `modResource`.`uri_override`, `modResource`.`hide_children_in_tree`, `modResource`.`show_in_tree`, `modResource`.`properties`, IFNULL(`TVeventdate`.`value`, '') AS `tv.EventDate`, IFNULL(`TVeventimage`.`value`, '') AS `tv.EventImage` FROM `modx_site_content` AS `modResource` LEFT JOIN `modx_site_tmplvar_contentvalues` `TVeventdate` ON `TVeventdate`.`contentid` = `modResource`.`id` AND `TVeventdate`.`tmplvarid` = 10 LEFT JOIN `modx_site_tmplvar_contentvalues` `TVeventimage` ON `TVeventimage`.`contentid` = `modResource`.`id` AND `TVeventimage`.`tmplvarid` = 8 WHERE ( `TVeventdate`.`value` > '2016-09-7 08:09:27' AND `modResource`.`parent` IN (8,9,17,18,19) AND `modResource`.`published` = 1 AND `modResource`.`deleted` = 0 ) ORDER BY modResource.publishedon DESC LIMIT 4444 " 0.0010450: SQL executed 0.0000930: Total rows: 0 0.0000150: Rows fetched 0.0000219: Prepared and processed TVs 0.0000010: Returning processed chunks 0.0055571: Total time 7 602 176: Memory usage Вопросы / Помогите разделить вывод мероприятий по дате 6 0
[aiAssist] Я же просто попросил его создать магазин, а он СДЕЛАЛ ЭТО! А поддержка macOS не планируется, ато увидел только runner под linux? Если к примеру сайт для разработки развернут локально, настроены все доступы к нейронкам чтобы не заморачивать...
Как ограничить вебмастеру доступ к заказам? Допустим вы закроете доступ к заказам и пользователям через админку, но для полноценной работы с сайтом нужен доступ в БД, а там вся эта информация есть и спрятать её невозможно, т...
Возможно ли реализовать возможность предоплаты за доставку на сайте? Отлично, значит можно не создавать заказ пока оплата не пройдёт успешно, а поскольку класс-обработчик оплаты будет кастомный сможет сами решать какую стоимость пробрасывать. Ещё на...
Редизайн сообщества На мобилке шапка не помещается на 1 строке, плюс иконки растягиваются до овала из-за иконки, вместо того, чтобы оставаться круглыми
ImageOptimizer - WebP/AVIF и responsive <picture> для MODX 3 Выпустил новую версию [1.0.3-beta1] — 2026-07-13 Fixed — Inject сохраняет ``, `` и `` на полном HTML-документе (больше не оборачивает страни...
MiniShop3 1.11.0 при клике на radio идет пересчет итоговой суммы в orderUI, в зависимости от способов(оплаты доставки) я так поняла. попробуй код запуска события поставить ниже чем orderUI, после
Localizator3 для MODX 3: перевод полей и TV без отдельного context на язык, Vue 3 + PrimeV... Добавил localizator3_default_language
msInShopNotify Начиная с версии 3.0.0-beta добавлена поддержка MiniShop3 Минимальные требования: PHP 8.4 MODX 3.2 MiniShop3
Не совсем понятно как еще можно вывести букву по которой фильтруется… Тут modx.ru/vopros-otvet/info/2916/ за вывод букв отвечает переменная $char, но я не понимаю откуда эта переменная взялась.
при этом родителя нужно ставить, «бабушку или дедушку:))»
это в шаблоне:
не выводится вообще ничего:(
Log: