Predefined blocks

predefinedblocks

  • By theuros
  • Latest release October 12, 2026 (18 days ago)

About

predefinedBlocks replaces the Content field with a block editor: heading, text and images, table, list, video, wrapper/accordion and chunk/snippet/HTML. Developers restyle each block with a Fenom template in the theme; the rendered HTML is saved into content, so search and teasers keep working.

Requires pdoTools 3. Not for templates that use ContentBlocks.

All blocks have been fully tested and are functional. We still have some features to add before it is pushed to the beta release.

Installation & usage

  1. Install pdoTools 3 first (required, block templates use Fenom).
  2. Install predefinedBlocks and tick the templates that should use the block editor in the install form.
  3. Choose the front-end styles: Plugin CSS (works without Bootstrap) or Bootstrap (your theme already loads Bootstrap 5.3).
  4. Open a page with that template, click Add block and save.
  5. To add your own sections, create custom block types: see Custom blocks in the documentation.

Documentation: https://modx.tend.si/predefined-blocks

At a glance

MODX 3 compatibility unknown. Based on our testing and community reports where available.

  • Developer theuros
  • Latest release October 12, 2026 (18 days ago)
  • First seen in SiteDash October 12, 2026 (18 days ago)
  • License GPLv2
  • MODX support 3.0 – 100.0

Releases 2 indexed releases

Changelog
MODX.com

0.2.0-beta

October 12, 2026

18 days ago

<p>Beta release.</p>
<ul><li><strong>Custom block</strong>: developers add section types as Fenom templates (<code>&lt;name&gt;.tpl</code>) with the fields listed in the template header; editors choose the type in the block and fill in the fields. Types are read from the template's folder (property <code>pb.custom_path</code>) and from a general folder (setting <code>predefinedblocks.custom_path</code>).</li>
<li>Two example custom block types included: <em>Call to action</em> and <em>Pricing package</em>.</li>
<li>Until a type is chosen, the block shows the folders it reads, with a warning when there are no types.</li>
<li>New field types <em>textarea</em> and <em>link</em> (page ID or URL); field width (1-12) and grouping in the editor.</li>
<li><strong>Bootstrap is now optional</strong>: the plugin adds its own <code>blocks.css</code> and <code>blocks.js</code> (accordion) to pages with blocks. Choose <em>Plugin CSS</em> or <em>Bootstrap</em> in the install form; settings <code>predefinedblocks.frontend_css</code> / <code>frontend_js</code>.</li>
</ul>
MODX.com

0.1.0-alpha

October 9, 2026

21 days ago

—