定制 dimsog/wn-blocks-plugin 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 1
  • Watchers: 1
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-01-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固