PageBlocks – a powerful tool for MODX in the Laravel style!

In popular Laravel admin panels like Nova or Filament, there are handy form builders for creating pages—allowing you to easily add fields, tabs, and tables. But in MODX, things are different: creating a custom tab and filling it with the necessary fields takes quite a bit of effort. Everything is done through the admin panel, making maintenance more complicated.

PageBlocks solves this problem! Now you can create tabs, fields, and tables directly from PHP code, without digging through the admin panel. This means you can update the interface via GitHub and manage it from your favorite code editor.

PageBlocks clearly separates responsibilities:
— Content managers work in the admin panel.
— Developers manage the interface through code.

PageBlocks brings the Laravel approach to MODX—convenient, scalable, and intuitive!

Documentation - https://pageblocks.boshnik.com/

8 Likes

This looks nice (except for the music :smile:).

Jokes aside, are you trying to do something similar to Gutenberg in WordPress? That would definitely be a big plus for MODX :clap:

1 Like

Checked out Gutenberg—it’s a text editor, if I got it right. Looks more like Editor.js ( EditorJs 1.0.2-pl | MODX ).

PageBlocks is a builder that makes it easy to create blocks and tables, and now it also lets you do the same in a Laravel-style way.

1 Like

That’s actually really nice! And it works with both versions of MODX? I can’t believe I missed it :no_mouth:

I will definitely run some tests. Hats off for the great work!

1 Like

Yes, it works in both versions

1 Like

@boshnik this looks amazing! I have been keeping an eye on this for the last months. The new field feature to replace TVs is great.

Its only available in the single licence, right? Where can I get a demo for development to test it?

I can only buy a licence via Modstore or Telegram. Do you sell from Russia? In the current situation it is very difficult to pitch this to German customers. Is there a way to sell it as a third party add-on via Modmore?

3 Likes

Thanks.

It’s only available in the single license, right?

Yes, that’s correct.

Where can I get a development demo version to test it out?

There isn’t that option at the moment.

Unfortunately, Modmore refused to host my component on their platform because it competes with ContentBlocks, so it’s only available on Modstore. I’m from Ukraine, so you can contact me via Telegram and make the payment directly.

1 Like

Sorry for bringing this topic back to EditorJS,

But this is definitely Gutenberg for MODX—no question about it! I think more people should be talking about this because 99% of my customers, who have no coding experience whatsoever, absolutely love visual editors like this.

I ran some tests, and the only issue I’m seeing is with images and galleries. Right now, you can only upload a new image each time you create a block. Ideally, it would be great to have the option to either upload a new image or select an existing one from the MODX Media Manager.

3 Likes