定制 pwaldhauer/kirby-quick-add 二次开发

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

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

pwaldhauer/kirby-quick-add

Composer 安装命令:

composer require pwaldhauer/kirby-quick-add

包简介

Kirby Quick Add Panel Section

README 文档

README

This plugin provides a two panel section that provides a form to quickly add a new child page to a pre defined page structure. Initially it was build to quickly create new blog posts without having to navigate the page tree to the correct directory (e.g. blog/posts/[current year]).

Please consider this plugin as a show case how to build a simple custom section and not as full fledged and extremely customizable plugin. It's mainly built for my blog and just published because I wanted to write a post about it 🤪

screenshot

Installation

  1. composer require pwaldhauer/kirby-quick-add or copy the files to the site/plugins folder.
  2. Add the section to a blueprint:
sections:
  quickAdd:
    type: quickadd
    headline: New Post
    target: posts/[YEAR]
    defaultTemplate: micro
    templates:
      - micro
      - short
      - long

or

sections:
  quickAdd:
    type: quickaddimage
    headline: New Post
    target: posts/[YEAR]
    template: micro
    text: Drop here
    dragText: "(image:[FILENAME] size:big)"

(or combine both with a colums thingy)

Blueprint options (quickadd)

  • headline: Printed above the section
  • target: The path to the page the new one will be a child of. [YEAR] will be replaced with the current year (e.g. 2020).
  • templates: List of possible templates
  • defaultTemplate: Default template

Blueprint options (quickaddimage)

  • headline: Printed above the section
  • text: Printed in the drop zone
  • dragText: The KirbyTag that will be inserted into the post for every file
  • target: The path to the page the new one will be a child of. [YEAR] will be replaced with the current year (e.g. 2020).
  • template: Default template for the created post

License

MIT

统计信息

  • 总下载量: 281
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 15
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 15
  • Watchers: 2
  • Forks: 1
  • 开发语言: Vue

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-04-29

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固