Outputting Channel Entries within a Channel Categories tag

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

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
1/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
45/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
php

Línea de trabajo

Start with docs/channels/categories.html, the page linked in the issue, and check how it documents the {exp:channel:categories} loop and nested {exp:channel:entries} tags. Add an example showing entries grouped by category, then confirm the page explains the result and the example follows the guide’s conventions.

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

Descripción

Suggested Change
It would be nice to have an example of how to output Channel Entries data, within a Channel Categories loop, on this page https://docs.expressionengine.com/latest/channels/categories.html

Reasoning
I've done this before for a couple of sites (and have just done it again) but I'm not sure it's a well known (or documented) method.

Additional context
I use this method to display all the Entries within the Categories contained in a specific Channel. eg. All the cars, vans and minibuses contained in a rental vehicles channel.
This method allows me to group all the vehicles on the page, by their category. ie. All the vans first, then all the cars and then all the minibuses.

{exp:channel:categories channel="vehicle" style="linear"}
{exp:channel:entries channel="vehicle" category="{category_id}" dynamic="no"}
vehicle data
{/exp:channel:entries}
{/exp:channel:categories}

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.