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

Abierto
#858 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
38/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
php

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
CSS
Estrellas
22
Forks
79
Merge medio
2 d 1 h
PR fusionados (30 d)
6

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de ExpressionEngine/ExpressionEngine-User-Guide

Todos los issues de ExpressionEngine/ExpressionEngine-User-Guide

Issues similares

Más issues de Documentation

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.