new

PageBlocks

PageBlocks - мощный инструмент для MODX в стиле Laravel!
Автор дополнения
Boshnik
Пакетов
13
Закачек
7 253
Обычно отвечает в течение нескольких дней
Автор дополнения
Пакетов
13
Закачек
7 253
Обычно отвечает в течение нескольких дней
Версия 2.5.3-pl
Дата выпуска 22.03.2025
Загрузки 307
Просмотры 5 652
Внимание, этот компонент требует версию PHP 7.4 или выше! Если ваш сайт использует PHP ниже требуемого, установка этого дополнения может его сломать.
Внимание, этот компонент требует версию MODX не ниже 2.8 !
  • Поддержка MODX: 2 / 3
  • Поддержка PHP: ^7.4

Создание блока любой структуры


Компонент PageBlocks разработан специально для CMS MODX, что позволяет вам легко создавать блоки с разнообразной структурой. Нужен ли вам блок с одним заголовком и текстом или сложная структура с изображениями, списками и таблицами — вы можете свободно создавать и настраивать блоки в соответствии со своими потребностями.


Встраивание таблиц в блоки.


Используйте функционал компонента PageBlocks для легкой вставки созданных таблиц в ваши блоки на платформе MODX. Это удобно для представления данных в структурированном виде, будь то прайс-лист, расписание или другие данные.



Многоязычный


Учитывая потребности многоязычной аудитории, PageBlocks для MODX позволяет создавать многоязычные блоки, предоставляя информацию на разных языках для пользователей из разных стран.



UTM


Встроенная поддержка UTM-меток позволяет отслеживать эффективность маркетинговых кампаний на вашем сайте MODX. Вы можете легко добавлять UTM-параметры к ссылкам в ваших блоках и анализировать эффективность различных источников трафика.



Готовые блоки


Для ускорения процесса создания контента компонент PageBlocks предоставляет готовые блоки, готовые для вставки на страницы MODX. Это позволяет использовать один и тот же блок на разных страницах.

Версии


Возможность управления версиями в PageBlocks для MODX позволяет вам сохранять разные версии ваших блоков. Это полезно, если вам нужно внести изменения, но вы также хотите сохранить предыдущие версии для будущего использования.



Корзина


Функция корзины в PageBlocks для MODX позволяет сохранять удаленные блоки с возможностью их восстановления. Это обеспечивает удобный способ управления блоками и избегания случайного удаления.



Коллекции


С помощью PageBlocks на MODX вы можете создавать вкладки или разделы на своем ресурсе, обеспечивая более удобное представление информации для менеджеров.



Синхронизация блоков


Если у вас есть несколько страниц на MODX, использующих одни и те же блоки, синхронизация блоков позволяет вносить изменения в одном месте и автоматически применять их ко всем страницам, где используются эти блоки.



Мощное копирование


Мощные функции копирования PageBlocks на MODX упрощают создание новых блоков на основе существующих, ускоряя процесс создания контента.

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

Последние обсуждения в сообществе MODX.pro