Add some documentation for how to add / update grid fields from an add-on

オープン
#858 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
38/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
php
領域
documentation

調査の方向性

Start by locating the user guide sections that document add-ons and grid fields, then check the referenced Channel Field behavior and the Datagrab example mentioned in the issue. Document an add-on workflow for creating or updating a grid field and adding columns, with examples that clarify how it works outside the Control Panel. Done means the guide answers how to access and modify the grid field definition.

索引モデルが issue の本文から書いたものです。

説明

Suggested Change
Add some documentation / examples relating to how you might add / update a grid field from an add-on (outside of CP).

Reasoning
Documentation is currently mute on this.

Additional context
Seems odd that the grid field is relegated to the depths of legacy code.
It appears that a grid field can be created by "making" a new instance of Channel Field of type 'grid' - but how do you access / add columns to the definition?
I note that Datagrab (for example) interacts with Grid fields seemingly entirely via direct db access.

主要言語
CSS
スター
22
フォーク
79
平均マージ
2日 1時間
マージ済み PR(30日)
6

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

ExpressionEngine/ExpressionEngine-User-Guide のほかの issue

ExpressionEngine/ExpressionEngine-User-Guide の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。