New extras and updates /

[pdoTools] 2.11.0 - disabling the total selection by default

Hello friends!

Let's start with some theory. All pdoTools snippets use the pdoFetch class to work with the database. During this, the total number of records will be calculated and set into the placeholder called [[+total]]. For maximum accuracy, this is done using the built-in MySQL functions:
SQL_CALC_FOUND_ROWS `id` , ` pagetitle`
And MySQL will know the total amount of records.

After this query, a separate request is made for obtaining the result and setting the placeholder using:
15 february 2018, 12:33    Gauke Pieter Sietzema
0    123    0 +2
How To /

ExtJS for dummies. Part 2 — ExtJS Panel

LoadCustomCssJs method in class modExtraManagerController adds to the page your styles and scripts. Let's start our first extjs script using this method.

class ThingsIndexManagerController extends modExtraManagerController {
    public function getPageTitle() {
        return 'Things';
    public function getTemplateFile() {
        return dirname(__FILE__) . '/home.tpl';
    public function loadCustomCssJs() {
            Ext.onReady(function() {
                var title = 'Мой заголовок';
                var msg = 'Модель DOM готова...';
26 december 2017, 15:35    Илья Уткин
1    114    0 0
News and announcements /

MODX Meetup @ Grünenwald, Switzerland

Date: February, 8th — 11th 2018
Location: Gasthaus Grünenwald, Grünenwald 1, 6390 Engelberg, Switzerland

The Gasthaus Grünenwald is situated outside the mountain village of Engelberg. A quite famous ski ressort in Switzerland. Located centrally, about 30 kilometres from Lucerne.

It was built a 100 years ago an run, since 20 years, by some music addicted guys and gals. A lot of bands come here to rehearse, but now we want to invite MODX addicts for a few days of tech and snow.
06 december 2017, 05:02    Fabian Christen
0    162    0 +1
How To /

ExtJS for dummies. Part 1 — Namespace and Controller

We will see the creation of MODX extra step by step in the next few lessons. In the lessons we do not use ready solutions, such as modExtra or Doodles. We will take all of the steps manually.

04 december 2017, 17:29    Илья Уткин
1    147    0 +1
News and announcements /

Work with MODX from IDE without manager

Hello friends!

MODXpo 2017 is going right now and I want to share with you my presentation that was just shown. The idea is to develop sites without login to the manager, directly from PhpStorm.

I propose to do this through my package, which will install the necessary resources, settings, templates and anything at all. This is not for developing extras, it's for website development.
11 november 2017, 15:20    Василий Наумкин
1    294    0 0
News and announcements /

MODXPO 2017 Live Stream from Minsk!

Yes! Live streaming of conference will be! Unfortunately, the sponsor, ready to completely close the costs for the team responsible for the video was not found, so that streaming will be available after a small payment – 29 Belarusian rubles (~15$).

Buy the «Live Stream» ticket on the conference website – or by this direct link.

VERY IMPORTANT! When paying for a ticket, specify a valid google-accountemail on gmail service, on this email will be send a link to the stream after the event starts.

11 november 2017, 07:40    Иван Климчук
0    323    0 +1
For developers /

How to extend any MODX table

This is translation of russian topic.

Once again it was necessary to change the site table, which can not be changed.

What do people usually do in such cases? As a usual, they edit a kernel or the necessary component, and lose the possibility of their updating. But this is wrong, and you can solve the problem differently.

We write the usual plugin, mark the OnMODXInit event for it and change the model for the required classes of the system or add-ons. For example, I added the manager id to the miniShop2 order:
27 august 2017, 04:54    Василий Наумкин
1    332    0 +1
Solutions /

How to remove all old versions of packages

This is translation of russian topic.

Many people knows that MODX stores a lot of old versions of packages in core/packages, so you can downgrade them at any time.

It needed not so often, but packages occupying HDD space for nothing. You can clean them manually at package manager, but it a bit tiring, so I made a simple script to clean old packages automatically.

By default script must be kept in the root of a site. It will select all installed packages except the last one, and will remove them correctly via system processor.
I strongly recommend you to run it from SSH terminal, because if you will call it via web-browser it may not be able to do all stuff in servers time limit.

As I see in the code of remove processor, it has no way to harm your system, but anyway, you doing this on your own risk!
20 june 2017, 16:29    Василий Наумкин
0    395    0 +1
News and announcements /

Hello English world!

Greetings, friends!

Today we made an important step in uniting the international MODX community and launched a separate English section of

Here you can ask questions, answer them and share success stories. Welcome!
02 june 2017, 16:52    Василий Наумкин
0    382    0 +1