chasegiunta/craft-jason 问题修复 & 功能扩展

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

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

chasegiunta/craft-jason

最新稳定版本:3.1.1

Composer 安装命令:

composer require chasegiunta/craft-jason

包简介

A field type for displaying & editing JSON data.

README 文档

README

Icon

Jason plugin for Craft CMS 3

A field type for displaying & editing JSON data.

Screenshot

Requirements

This plugin requires Craft CMS 3.0 or later.

Installation

To install the plugin, follow these instructions.

  1. Open your terminal and go to your Craft project:

    cd /path/to/project
    
  2. Then tell Composer to load the plugin:

    composer require chasegiunta/craft-jason
    
  3. In the Control Panel, go to Settings → Plugins and click the “Install” button for Jason.

Jason Overview

Jason is a fieldtype tailored for displaying JSON data, typically collected from a frontend form.

Using Jason

Settings

Jason fields can be set to readonly, allow value-only editing, or allow full editing of data (when editing keys or reordering is necessary).

Values can be accessed in templates like normal, but unless keys are in camelCase, you'll need to use array syntax eg. {{ entry.myJasonField.some.nested["super key"] }}

Jason Roadmap

Some things to do, and ideas for potential features:

  • Syntax highlighting while editing raw data
  • Editable keys within control panel

Brought to you by Chase Giunta

统计信息

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

GitHub 信息

  • Stars: 15
  • Watchers: 0
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: proprietary
  • 更新时间: 2019-05-03