Extras catalogue

Predefined blocks

Latest release 9 days ago (November 10, 2026).

predefinedblocks

  • By theuros

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.

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 November 10, 2026 (9 days ago)
  • First seen in SiteDash November 10, 2026 (9 days ago)
  • License GPLv2
  • MODX support 3.0 – 100.0

Releases 5 indexed releases

Changelog
MODX.com

0.7.0-beta

November 10, 2026

9 days ago

<p>Beta release. Changes since 0.6.0-beta (see changelog.txt in the package for details).</p>
<h4>Added</h4>
<ul><li><strong>Page picker for links.</strong> The link field of custom blocks and the link dialog of the small editor (table cells, list items) search pages by title, alias or ID and insert a live link <code>[[~ID]]</code>. The linked page's title is shown under the field.</li>
<li><strong>Undo delete.</strong> A deleted block can be restored until the page is saved. Ordinary blocks no longer ask for confirmation; originals with clones and wrappers with blocks still ask.</li>
<li><strong>Collapsed cards are remembered</strong> per page (browser storage).</li>
<li><strong>Focal point for images.</strong> Click the image to mark the part that stays visible when it is cropped to an aspect ratio. Templates get <code>{$img.focus}</code> for CSS <code>object-position</code>.</li>
<li>Example custom block type <strong>Files to download</strong> (<code>downloads.tpl</code>): a heading and a list of documents with type and size.</li>
</ul><h4>Fixed</h4>
<ul><li>CKEditor 4 fields were emptied when a card was moved (arrows, drag and drop) and could return outdated text. CKEditor 4 is now handled like TinyMCE and Redactor.</li>
<li>In Firefox, a TinyMCE field (with the autoresize plugin) in a hidden section tab or collapsed part of the editor had zero height when shown. The height is now measured again when the field becomes visible.</li>
</ul>
MODX.com

0.6.0-beta

November 2, 2026

18 days ago

<p>Beta release. Changes since 0.5.0-beta (see changelog.txt in the package for details).</p>
<h4>Fixed (data loss)</h4>
<ul><li>A block whose type has no definition (e.g. a block removed in a newer version) was deleted on the next save. Such blocks are now kept, are not rendered, and the editor lists them in a notice.</li>
<li>A template error (e.g. a Fenom syntax error in a theme override) replaced the blocks with an HTML comment and saved the page, so one typo could empty every page of a template on Clear cache. A page with a render error is no longer saved; the previous content stays and the editor shows a warning.</li>
<li>A stored value that did not match its field type (e.g. a custom field changed from text to images) stopped the editor, and saving deleted the blocks that were not loaded. Values are now converted; a block that still cannot be shown is listed and saving is disabled.</li>
<li>Switching the template with unsaved block changes lost them; the switch is now refused until the page is saved.</li>
</ul><h4>Fixed (security)</h4>
<ul><li>The rich text sanitizer missed <code>javascript:</code> links written with numeric character references without a semicolon.</li>
<li>Page titles and image paths in manager error messages were output as HTML; titles of pages the user cannot view are no longer shown.</li>
<li>The redirect after a scheduled re-render could point to another site (<code>//host/...</code>); only local paths are used now.</li>
</ul>
MODX.com

0.5.0-beta

November 1, 2026

18 days ago

<p>Beta release. Changes since 0.2.0-beta (see changelog.txt in the package for details).</p>
<h4>New</h4>
<ul><li><strong>Layouts and sections</strong> (template property <code>pb.layout</code>, file <code>layouts/&lt;name&gt;.tpl</code>): sections are tabs in the editor, the whole layout is rendered into the page content.</li>
<li>Template properties <code>pb.blocks</code> and <code>pb.custom_types</code> (blocks and custom types offered on a template), <code>pb.image_max_width</code>, <code>pb.frontend_css</code> / <code>pb.frontend_js</code>. Useful for e-mail templates.</li>
<li>Custom blocks: images are resized (<code>{$image.src}</code>, header options <code>size</code> and <code>ratio</code>), repeater fields, new field types <code>file</code> and <code>files</code> (documents with upload, library picker and sorting).</li>
<li>Image uploads go through the media source; SVG uploads from the editor are refused.</li>
<li>Table header options "first column" and "first row and first column".</li>
<li>Accessibility: warning for skipped heading levels, move buttons for images and files, labels for block buttons.</li>
</ul><h4>Fixed</h4>
<ul><li>Security: rich text is sanitized on save and on render; stricter checks for links and embeds.</li>
<li>Shared blocks (clones): an edit made meanwhile on another page is no longer overwritten; conflicts are reported.</li>
<li>Database errors while saving are detected and nothing is saved halfway.</li>
<li>The block editor opens when creating a new resource; "Duplicate with children" copies the blocks of child pages.</li>
<li>Clear cache re-renders only out-of-date pages and stops before the time limit.</li>
<li>Installer works on MySQL 8; absolute custom paths on Windows; TinyMCE autoresize in Firefox.</li>
</ul>
MODX.com

0.2.0-beta

October 12, 2026

1 month ago

—
MODX.com

0.1.0-alpha

October 9, 2026

1 month ago

—