dimsog/wn-blocks-plugin
Composer 安装命令:
composer require dimsog/wn-blocks-plugin
包简介
Visual block editor for WinterCMS
README 文档
README
Allows you to edit blocks stored in database on the front-end pages.
Features
- backend editor
- front-end editor
- the ability to add your custom CSS classes
- Blocks preloader (cache)
Language support
- English
- Russian
Supported versions
Please check: https://www.php.net/supported-versions.php
- PHP 8.0
- PHP 8.1
- PHP 8.2
Installation
composer require dimsog/wn-blocks-plugin
How to use
pages/home.htm
title = "Demonstration"
url = "/"
layout = "default"
[block]
==
{% component 'block' code='block1' %}
{% component 'block' code='block2' class='foo-bar' %}
Using with Blocks Preloader component
All blocks are loaded with a single SQL query
title = "Demonstration"
url = "/"
layout = "default"
[blocksPreloader]
id = "10, 11, 12"
code = "block1, block2"
[block]
==
{% component 'block' code='block1' %}
统计信息
- 总下载量: 120
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-01-16