marionnewlevant/annotated-notes 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

marionnewlevant/annotated-notes

Composer 安装命令:

composer require marionnewlevant/annotated-notes

包简介

Field for multiple notes with automatic annotation

README 文档

README

Field for multiple notes with automatic annotation

Requirements

This plugin requires Craft CMS 3.0.0-beta.23 or later.

Annotated Notes Overview

Annotated Notes is a varient of the Table fieldtype, where the table has two columns:

  • Note, a text field (handle: note)
  • Annotation a non-editable text field whose content is generated by twig (handle: annotation)

Configuring Annotated Notes

When you create an Annotated Notes field, you specify the twig code which will be parsed after the element is saved to generate the content for the annotations.

You can also (under Advanced) specify the user visible labels for the note and annotation columns (the handles are not changed).

Using Annotated Notes

An Annotated Notes field behaves like a Table field. It has two columns, Note and Annotation. When you save an Element with an Annotated Notes field, any rows which have a Note but no Annotation, will have the Annotation set to the value of the parsed twig. When you edit an Element with an Annotated Notes field, the Notes can be modified, but the Annotations are not editable.

On the front end, the field behaves like any other Table field. The handles for the columns are note and annotation.

Brought to you by Marion Newlevant Many thanks to André Elvan, whose Preparse Field was a major influence.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-04-27

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固