new

PageBlocks

PageBlocks is a fast and easy way to integrate layouts into MODX CMS.
The author
Boshnik
Packages
13
Downloads
7 256
Usually answers within a few days
Автор дополнения
Packages
13
Downloads
7 256
Usually answers within a few days
Version 2.5.3-pl
Release date 03.22.2025
Downloads 307
Views 157
Warning! This component requires PHP version 7.4 or higher! If your site uses PHP less than required, the installation of this package could break it.
Warning! This package requires MODX not less than 2.8 !
  • Support MODX: 2 / 3
  • Support PHP: ^8.1

Creating a block of any structure


PageBlocks component is designed specifically for CMS MODX, allowing you to easily create blocks with a variety of structures. Whether you need a block with a single title and text or a complex structure with images, lists and tables — you can freely create and customize blocks according to your needs.


Embedding tables into blocks.


Utilize the functionality of the PageBlocks component to easily embed created tables into your blocks on the MODX platform. This is convenient for presenting data in a structured form, whether it be a price list, schedule, or other data.



Multilanguage


Considering the needs of a multilingual audience, PageBlocks for MODX enables the creation of multilingual blocks, providing information in different languages for users from various countries.



UTM


Built-in support for UTM tags allows you to track the performance of marketing campaigns on your MODX site. You can easily add UTM parameters to links in your blocks and analyze the effectiveness of various traffic sources.



Ready blocks


To expedite the content creation process, the PageBlocks component provides pre-made blocks, ready for insertion onto MODX pages. This allows you to use the same block on different pages.

Versions


The versioning capability in PageBlocks for MODX allows you to save different versions of your blocks. This is useful if you need to make changes but also want to keep previous versions for future use.



Basket


The cart feature in PageBlocks for MODX allows you to save deleted blocks with the possibility of their restoration. This provides a convenient way to manage your blocks and avoid accidental deletion



Collections


With PageBlocks on MODX, you can create tabs or sections on your resource, providing a more convenient presentation of information for managers.



Block synchronization


If you have multiple pages on MODX using the same blocks, block synchronization allows you to make changes in one place and automatically apply them to all pages where these blocks are used.



Powerful copying


The powerful copying features of PageBlocks on MODX make it easier to create new blocks based on existing ones, speeding up the content creation process.

Changelog

[2.5.3-pl] - 2025-03-22

Added

  • Tab position in manager mode
  • Description field for tabs and panels

Improved

  • Improved multilingual support without contexts

Fixed

  • Fixed styling of tabs and panels in MODX 3
  • Fixed styling for the modx-resource-tabs panel
  • Fixed ID for tabs and panels
  • Fixed context synchronization
  • Fixed table list retrieval in the grid
  • Fixed value display in multi-select
  • Fixed error when rendering fields in columns
  • Fixed block copying
  • Fixed default value when the field value is set to empty
  • Fixed search by field type
  • Fixed error when uploading files to galleries
  • Fixed image path when calling the gallery/upload processor

[2.5.2-pl] - 2025-03-11

Fixed

  • Fixed duplication of reusable blocks
  • Fixed checkbox display in the resource
  • Fixed synchronization fields when syncing through the context menu
  • Fixed duplicate file check when there are multiple galleries on the page
  • Fixed panel positioning

Changed

  • values parameter replaced with options for the select field in development mode

[2.5.1-pl] - 2025-03-10

Added

  • Saving and displaying thumbnails in the gallery
  • Fields and exclude parameters for snippets
  • 'Resource' checkbox for tables

Fixed

  • Fixed duplicate check in the gallery
  • Search in the resource table fixed
  • Fixed table retrieval when the constructor is missing

[2.5.0-pl] - 2025-03-07

Added

  • Access permissions for blocks, tabs, and fields in development mode
  • 'Resource Fields' tab
  • Button modifier
  • Duplicate check for blocks, tabs, and fields in development mode
  • Groups for blocks
  • displayField and valueField for the resourcelist field
  • JsonGrid Field
  • pbTables snippet
  • chunksPath parameter for snippets
  • Layer and icon options for the map field
  • Modifiers in Fenom
  • Optional parameters in routing
  • Pagination setting for tables
  • Panel Builder
  • pageblocks_parser system setting
  • Regular expression constraints
  • Renderer for color fields
  • renderIf for table columns
  • Synchronization block fields
  • Toggle Field
  • UTM support for development mode
  • Validation for reserved field names
  • Default values for table columns
  • group for table columns
  • View facade

Changed

  • The list of blocks is now left-aligned for better readability
  • Renamed Forms folder to Builders
  • Renamed Routing folder to Facades
  • Moved Translit and Response classes from Helpers to Facades

Fixed

  • Improved App/Model
  • Fixed URI retrieval in routes
  • Fixed error output in routes
  • Fixed a gallery error
  • Fixed jsonDecodeRecursive function
  • Fixed sortby in queries
  • Fixed condition handling in snippets
  • Fixed dependent fields in development mode
  • Improved snippet execution
  • Fixed versioning errors
  • Fixed ResponseStatus
  • Corrected block values
  • Improved column renderer
  • Fixed areas in system settings
  • Fixed KeyValue Field
  • Fixed disable action for resource constructor
  • Fixed multilingual support

Deprecated

  • Collections and Resources tabs marked as deprecated and will be removed in version 2.6.0

Removed

  • Removed support for virtual pages

[2.4.2-pl] - 2025-02-14

Added

  • pbResources snippet
  • pbOnBeforeUndelete, pbOnAfterUndelete events

Changed

  • "Ready Blocks" renamed to "Reusable Blocks"

Fixed

  • basket
  • renderDate
  • updateValues
  • copying of blocks from another resource

[2.4.1-pl] - 2025-02-11

Added

  • resource method for field with table type

Fixed

  • small errors

[2.4.0-pl] - 2025-02-07

Added

  • Form Builder
  • pbFiles snippet
  • pbJson snippet
  • table sorting by json field

Fixed

  • errors in database tables
  • сreate modResource
  • button type
  • dependent fields
  • constructor block copying
  • image load

[2.3.1-pl] - 2025-01-28

Added

  • support MySQL 5.7
  • description for ready blocks
  • support for custom parameters for snippets

[2.3.0-pl] - 2025-01-27

Added

  • Routing
  • Relationship Field
  • TableMultiCombo Field
  • MultiCombo Field
  • Dependent Field
  • Currency Field
  • Heading Field
  • Imask Field
  • Tag Field
  • Map Field
  • pbResource
  • filter by user (createdby) for tables
  • context synchronization
  • copying tables by id
  • copying tables from resources
  • support php 7.4
  • pbRelationship snippet
  • pbMap snippet

Fixed

  • Improved Gallery Field
  • Improved KeyValue Field
  • Table windows
  • Minor bugs

[2.2.2-pl] - 2024-12-14

Added

  • OnResourceDuplicate event
  • KeyValue Field

Fixed

  • Modal windows

Removed

  • createColumn function when creating filters
  • The PageBlocks snippet (use pbBlocks instead)

[2.2.1-pl] - 2024-12-12

Added

  • CKEditor support
  • Block description

Fixed

  • Improved object handling
  • Small errors

[2.2.0-pl2] - 2024-11-29

Fixed

  • PageBlocks plugin
  • Fixed an error when creating events.

[2.2.0-pl] - 2024-10-15

Added

  • pbBlocks snippet
  • pbCollections snippet
  • Filter for collections
  • Сollections for users
  • Table for field values (If you used @SELECT, you need to create a plugin for the pbOnFieldValues event)
  • pbOnFieldValues event
  • CheckboxSelection for table

Fixed

  • Improved field selection
  • Collections have been moved to a separate menu.
  • Fixed tab position
  • Fixed table columns
  • Database table optimization
  • Fixed copy

Deprecated

  • PageBlocks snippet marked as deprecated and will be removed in the next version

Removed

  • onPageBlocksSaveValues event

[2.1.0-pl] - 2024-09-21

Added

  • Combo Field
  • TableCombo Field
  • combo_field_models setting
  • Events: pbOnBeforeCreate, pbOnAfterCreate, pbOnGetListBlocks, pbOnBeforeSave, pbOnAfterSave, pbOnBeforePublished, pbOnAfterPublished, pbOnBeforeUnPublished, pbOnAfterUnPublished, pbOnBeforeDuplicate, pbOnAfterDuplicate, pbOnBeforeDelete, pbOnAfterDelete, pbOnGetValues, pbOnBeforeGetList, pbOnAfterGetList
  • Search by ID in combo fields, including resource list
  • UK lexicon

Fixed

  • Improved display of values in the grid
  • Improved QueryProcessor Trait
  • Improved image upload
  • Fixed EditorJs field
  • Fixed virtual page link
  • Fixed copying of the constructor table
  • Fixed 'Field' field in table columns
  • Fixed sorting of all objects

Changed

  • Minimum PHP version requirement updated to 8.1

Deprecated

  • onPageBlocksSaveValues event marked as deprecated and will be removed in the next version

Removed

  • renderResource. Rendering now occurs automatically.

[2.0.7-pl] - 2024-07-09

Added

  • onPageBlocksSaveValues event

[2.0.6-beta2] - 2024-07-05

Fixed

  • Fixed the list of blocks
  • Fixed translate resource

[2.0.6-beta] - 2024-07-04

Added

  • Translation resource

Fixed

  • Fixed video field

[2.0.5-pl] - 2024-06-15

Added

  • AI-block

Fixed

  • Fixed the removal of the block constructor
  • Fixed translitAlias
  • Fixed upload image

[2.0.4-pl] - 2024-05-17

Added

  • Slug Field

Fixed

  • Fixed Resource translations
  • Fixed EditorJs support
  • Fixed PageBlocks snippet

Changed

  • Change chatgpt_model: gpt-4o

[2.0.3-pl] - 2024-04-21

Added

  • Added DeepL translator
  • Added DeepLGPT translator

Fixed

  • Fixed copying errors
  • Fixed menuindex

Changed

  • Updated ChatGPT translator

[2.0.2-pl] - 2024-04-01

Fixed

  • Fixed gallery

[2.0.1-pl] - 2024-03-21

Added

  • Added EditorJs support

[2.0.0-pl] - 2024-03-16

  • New version