new

PageBlocks

PageBlocks is a fast and easy way to integrate layouts into MODX CMS.
The author
Boshnik
Packages
10
Downloads
6 978
Usually answers within a few days
Автор дополнения
Packages
10
Downloads
6 978
Usually answers within a few days
Version 2.2.0-pl2
Release date 12.01.2024
Downloads 267
Views 3
Warning! This component requires PHP version 8.0 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.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