Outputting Channel Entries within a Channel Categories tag
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 1/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- php
- Lĩnh vực
- documentation
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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}
- Ngôn ngữ chính
- CSS
- Star
- 22
- Fork
- 79
- Merge trung bình
- 2 ngày 1 giờ
- Pull request đã merge (30 ngày)
- 6
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ExpressionEngine/ExpressionEngine-User-Guide
-
Inconsistent code block spacingĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
-
registration form docsĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 45/100
-
Clarify autosave interval valueĐang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 55/100
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 46/100
Tất cả issue của ExpressionEngine/ExpressionEngine-User-Guide
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
fsprojects/FSharp.Formatting#1370 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
hermes-queue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
chrisalunlloyd2-sudo/mindpalace#337 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
-
sync-en
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
sync-en
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày