• Можно ли как-то добавить кнопку внутри migx?

    mr-lexus
    @mr-lexus
    php modx dev
    Можно.
    Допустим у Вас так:
    [{"caption":"gallery","fields": [
    {"field":"image","caption":"Изображение","inputTV":"ImageTV"},
    {"field":"alt","caption":"Альтернативный заголовок"},
    {"field":"table","caption":"Дополнительная табличка","inputTV":"table"}
    ]}]

    Создайте ещё TV (migx) c названием table.

    [{"caption":"gallery","fields": [
    {"field":"alt1","caption":"Название услуги"},
    {"field":"alt2","caption":"Цена"}
    ]}]
    Ответ написан
    2 комментария
  • MODx Evo, возможен ли поиск по MultiTV?

    mr-lexus
    @mr-lexus
    php modx dev
    На Вашем месте я бы написал сниппет поиска.
    Я так полагаю, что для Вас такой способ неприемлем.
    Вижу 2 пути:
    1) Плагин (как вы сказали) который будет записывать в TV json преобразованный в строку
    2) Допиливать AjaxSearch (костыль)
    Ответ написан
    Комментировать
  • Как настроить Firefox, чтобы быстро работал?

    mr-lexus
    @mr-lexus
    php modx dev
    Есть ощущение, что проблема не с лисой, а с флешем.
    И попробуйте запустить лису через терминал, может ошибки будут видны. Авось прольём свет на проблему.
    Ответ написан
    Комментировать
  • Почему не запускается MySql сервер?

    mr-lexus
    @mr-lexus
    php modx dev
    Попробуйте
    $ sudo apt-get install mysql-utilities
    Ответ написан
    Комментировать
  • Почему не запускается Koala на Linux Mint Sarah?

    mr-lexus
    @mr-lexus
    php modx dev
    Запустите через терминал и опубликуйте вывод.
    И подумайте, как насчёт того, что бы освоить gulp.
    Ответ написан
    Комментировать
  • Моргает экран под курсором. Как исправить?

    mr-lexus
    @mr-lexus Автор вопроса
    php modx dev
    $ lspci -v
    00:00.0 Host bridge: Intel Corporation Core Processor DRAM Controller (rev 12)
    	Subsystem: ASUSTeK Computer Inc. Core Processor DRAM Controller
    	Flags: bus master, fast devsel, latency 0
    	Capabilities: <access denied>
    	Kernel driver in use: agpgart-intel
    
    00:02.0 VGA compatible controller: Intel Corporation Core Processor Integrated Graphics Controller (rev 12) (prog-if 00 [VGA controller])
    	Subsystem: ASUSTeK Computer Inc. Core Processor Integrated Graphics Controller
    	Flags: bus master, fast devsel, latency 0, IRQ 29
    	Memory at d0000000 (64-bit, non-prefetchable) [size=4M]
    	Memory at c0000000 (64-bit, prefetchable) [size=256M]
    	I/O ports at e080 [size=8]
    	Expansion ROM at <unassigned> [disabled]
    	Capabilities: <access denied>
    	Kernel driver in use: i915
    	Kernel modules: i915
    
    00:16.0 Communication controller: Intel Corporation 5 Series/3400 Series Chipset HECI Controller (rev 06)
    	Subsystem: ASUSTeK Computer Inc. 5 Series/3400 Series Chipset HECI Controller
    	Flags: bus master, fast devsel, latency 0, IRQ 30
    	Memory at d540a000 (64-bit, non-prefetchable) [size=16]
    	Capabilities: <access denied>
    	Kernel driver in use: mei_me
    	Kernel modules: mei_me
    
    00:1a.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
    	Subsystem: ASUSTeK Computer Inc. 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
    	Flags: bus master, medium devsel, latency 0, IRQ 16
    	Memory at d5408000 (32-bit, non-prefetchable) [size=1K]
    	Capabilities: <access denied>
    	Kernel driver in use: ehci-pci
    
    00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 06)
    	Subsystem: ASUSTeK Computer Inc. 5 Series/3400 Series Chipset High Definition Audio
    	Flags: bus master, fast devsel, latency 0, IRQ 31
    	Memory at d5400000 (64-bit, non-prefetchable) [size=16K]
    	Capabilities: <access denied>
    	Kernel driver in use: snd_hda_intel
    	Kernel modules: snd_hda_intel
    
    00:1c.0 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 1 (rev 06) (prog-if 00 [Normal decode])
    	Flags: bus master, fast devsel, latency 0, IRQ 24
    	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
    	I/O behind bridge: 0000d000-0000dfff
    	Memory behind bridge: d4000000-d53fffff
    	Prefetchable memory behind bridge: 00000000d5500000-00000000d56fffff
    	Capabilities: <access denied>
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    
    00:1c.1 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 2 (rev 06) (prog-if 00 [Normal decode])
    	Flags: bus master, fast devsel, latency 0, IRQ 25
    	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
    	I/O behind bridge: 0000c000-0000cfff
    	Memory behind bridge: d2c00000-d3ffffff
    	Prefetchable memory behind bridge: 00000000d5700000-00000000d58fffff
    	Capabilities: <access denied>
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    
    00:1c.2 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 3 (rev 06) (prog-if 00 [Normal decode])
    	Flags: bus master, fast devsel, latency 0, IRQ 26
    	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
    	I/O behind bridge: 0000b000-0000bfff
    	Memory behind bridge: d1800000-d2bfffff
    	Prefetchable memory behind bridge: 00000000d5900000-00000000d5afffff
    	Capabilities: <access denied>
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    
    00:1c.5 PCI bridge: Intel Corporation 5 Series/3400 Series Chipset PCI Express Root Port 6 (rev 06) (prog-if 00 [Normal decode])
    	Flags: bus master, fast devsel, latency 0, IRQ 27
    	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
    	I/O behind bridge: 0000a000-0000afff
    	Memory behind bridge: d0400000-d17fffff
    	Prefetchable memory behind bridge: 00000000d5b00000-00000000d5cfffff
    	Capabilities: <access denied>
    	Kernel driver in use: pcieport
    	Kernel modules: shpchp
    
    00:1d.0 USB controller: Intel Corporation 5 Series/3400 Series Chipset USB2 Enhanced Host Controller (rev 06) (prog-if 20 [EHCI])
    	Subsystem: ASUSTeK Computer Inc. 5 Series/3400 Series Chipset USB2 Enhanced Host Controller
    	Flags: bus master, medium devsel, latency 0, IRQ 23
    	Memory at d5407000 (32-bit, non-prefetchable) [size=1K]
    	Capabilities: <access denied>
    	Kernel driver in use: ehci-pci
    
    00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev a6) (prog-if 01 [Subtractive decode])
    	Flags: bus master, fast devsel, latency 0
    	Bus: primary=00, secondary=05, subordinate=05, sec-latency=32
    	Capabilities: <access denied>
    
    00:1f.0 ISA bridge: Intel Corporation HM55 Chipset LPC Interface Controller (rev 06)
    	Subsystem: ASUSTeK Computer Inc. HM55 Chipset LPC Interface Controller
    	Flags: bus master, medium devsel, latency 0
    	Capabilities: <access denied>
    	Kernel driver in use: lpc_ich
    	Kernel modules: lpc_ich
    
    00:1f.2 SATA controller: Intel Corporation 5 Series/3400 Series Chipset 4 port SATA AHCI Controller (rev 06) (prog-if 01 [AHCI 1.0])
    	Subsystem: ASUSTeK Computer Inc. 5 Series/3400 Series Chipset 4 port SATA AHCI Controller
    	Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 28
    	I/O ports at e070 [size=8]
    	I/O ports at e060 [size=4]
    	I/O ports at e050 [size=8]
    	I/O ports at e040 [size=4]
    	I/O ports at e020 [size=32]
    	Memory at d5406000 (32-bit, non-prefetchable) [size=2K]
    	Capabilities: <access denied>
    	Kernel driver in use: ahci
    	Kernel modules: ahci
    
    00:1f.3 SMBus: Intel Corporation 5 Series/3400 Series Chipset SMBus Controller (rev 06)
    	Subsystem: ASUSTeK Computer Inc. 5 Series/3400 Series Chipset SMBus Controller
    	Flags: medium devsel, IRQ 18
    	Memory at d5405000 (64-bit, non-prefetchable) [size=256]
    	I/O ports at e000 [size=32]
    	Kernel modules: i2c_i801
    
    00:1f.6 Signal processing controller: Intel Corporation 5 Series/3400 Series Chipset Thermal Subsystem (rev 06)
    	Subsystem: ASUSTeK Computer Inc. 5 Series/3400 Series Chipset Thermal Subsystem
    	Flags: bus master, fast devsel, latency 0, IRQ 4
    	Memory at d5404000 (64-bit, non-prefetchable) [size=4K]
    	Capabilities: <access denied>
    	Kernel modules: intel_ips
    
    02:00.0 Network controller: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
    	Subsystem: AzureWave AW-NE785 / AW-NE785H 802.11bgn Wireless Full or Half-size Mini PCIe Card
    	Physical Slot: 1
    	Flags: bus master, fast devsel, latency 0, IRQ 17
    	Memory at d2c00000 (64-bit, non-prefetchable) [size=64K]
    	Capabilities: <access denied>
    	Kernel driver in use: ath9k
    	Kernel modules: ath9k
    
    04:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 80)
    	Subsystem: ASUSTeK Computer Inc. SD/MMC Host Controller
    	Physical Slot: 5
    	Flags: bus master, fast devsel, latency 0, IRQ 18
    	Memory at d0407000 (32-bit, non-prefetchable) [size=256]
    	Capabilities: <access denied>
    	Kernel driver in use: sdhci-pci
    	Kernel modules: sdhci_pci
    
    04:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 80) (prog-if 01)
    	Subsystem: ASUSTeK Computer Inc. Standard SD Host Controller
    	Physical Slot: 5
    	Flags: fast devsel, IRQ 18
    	Memory at d0406000 (32-bit, non-prefetchable) [size=256]
    	Capabilities: <access denied>
    	Kernel modules: sdhci_pci
    
    04:00.3 System peripheral: JMicron Technology Corp. MS Host Controller (rev 80)
    	Subsystem: ASUSTeK Computer Inc. MS Host Controller
    	Physical Slot: 5
    	Flags: bus master, fast devsel, latency 0, IRQ 18
    	Memory at d0405000 (32-bit, non-prefetchable) [size=256]
    	Capabilities: <access denied>
    	Kernel driver in use: jmb38x_ms
    	Kernel modules: jmb38x_ms
    
    04:00.4 System peripheral: JMicron Technology Corp. xD Host Controller (rev 80)
    	Subsystem: ASUSTeK Computer Inc. xD Host Controller
    	Physical Slot: 5
    	Flags: bus master, fast devsel, latency 0, IRQ 4
    	Memory at d0404000 (32-bit, non-prefetchable) [size=256]
    	Capabilities: <access denied>
    
    04:00.5 Ethernet controller: JMicron Technology Corp. JMC250 PCI Express Gigabit Ethernet Controller (rev 03)
    	Subsystem: ASUSTeK Computer Inc. JMC250 PCI Express Gigabit Ethernet Controller
    	Physical Slot: 5
    	Flags: bus master, fast devsel, latency 0, IRQ 32
    	Memory at d0400000 (32-bit, non-prefetchable) [size=16K]
    	I/O ports at a100 [size=128]
    	I/O ports at a000 [size=256]
    	Capabilities: <access denied>
    	Kernel driver in use: jme
    	Kernel modules: jme
    
    ff:00.0 Host bridge: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers (rev 02)
    	Subsystem: Intel Corporation Core Processor QuickPath Architecture Generic Non-core Registers
    	Flags: bus master, fast devsel, latency 0
    
    ff:00.1 Host bridge: Intel Corporation Core Processor QuickPath Architecture System Address Decoder (rev 02)
    	Subsystem: Intel Corporation Core Processor QuickPath Architecture System Address Decoder
    	Flags: bus master, fast devsel, latency 0
    
    ff:02.0 Host bridge: Intel Corporation Core Processor QPI Link 0 (rev 02)
    	Subsystem: Intel Corporation Core Processor QPI Link 0
    	Flags: bus master, fast devsel, latency 0
    
    ff:02.1 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0 (rev 02)
    	Subsystem: Intel Corporation 1st Generation Core i3/5/7 Processor QPI Physical 0
    	Flags: bus master, fast devsel, latency 0
    
    ff:02.2 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)
    	Subsystem: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved
    	Flags: bus master, fast devsel, latency 0
    
    ff:02.3 Host bridge: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved (rev 02)
    	Subsystem: Intel Corporation 1st Generation Core i3/5/7 Processor Reserved
    	Flags: bus master, fast devsel, latency 0
    Ответ написан
    Комментировать
  • Почему данные не идут в базу?

    mr-lexus
    @mr-lexus
    php modx dev
    Это:
    mysql_query(" INSERT INTO eb_orders(title, name, summ, status, date)
    VALUES ('$title', '$name', '$summ', '$status' $date') ");
    Замени на это:
    mysql_query(" INSERT INTO eb_orders(title, name, summ, status, date)
    VALUES ('$title', '$name', '$summ', '$status', '$date') ");
    Ответ написан
  • Modx подходит для высоконагруженного проекта с распределением нагрузок по серверам?

    mr-lexus
    @mr-lexus
    php modx dev
    800 тыс уников - точно не modx. Полагаю, что будет много джоинов.
    Можете посмотреть modx + phpTemplates + Smarty - Поможет снизать нагрузку.
    Ответ написан
    Комментировать
  • Почему проблемы с кодировкой в oscommerce?

    mr-lexus
    @mr-lexus
    php modx dev
    Попробуй файл который отвечает за шапку сохранить в кодировке UTF8 без BOM.
    Если не поможет смотри БД, возможно где-то не верно указанна кодировка.
    Ответ написан
    Комментировать