Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Entry IDs not resolving into URLs in navigation template

Đang mở
#15,628 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức phù hợp với người mới
68/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
laravel, php
Lĩnh vực
backend, content

Hướng nghiên cứu

Start by reading the navigation template example and checking how the url variable handles entry links in navigation blueprints. Reproduce with a navigation item whose link field points to an entry, then trace where the raw entry:: ID is rendered. Done means the front end outputs a navigable URL for that entry; the issue does not name a test or source file.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Bug description

We have a client that is experiencing an issue where when they link to an entry in a navigation blueprint with a link field, the entry ID doesn't resolve into a URL on the front end. It just shows the raw entry id which isn't navigable.

Looking through the release notes, #15004 is somewhat relevant.

Template:
{{ nav:footer_navigation }} {{ if link_menu == "about" }}<a class="primary d-block fw-600" href="{{ url }}">{{ title }}</a>{{ /if }} {{ /nav:footer_navigation }}

Output:

href="entry::4af6f16d-80e3-42af-ba38-b7818df99593">Contact

How to reproduce

Link to an entry in a navigation blueprint with a link field, the entry ID doesn't resolve into a URL on the front end.

Logs
The only thing in the log:

[2026-10-11 13:12:50] local.DEBUG: Error contacting Outpost: cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received (see https://curl.se/libcurl/c/libcurl-errors.html) for https://outpost.statamic.com/v3/query
Environment
Environment
Laravel Version: 13.0.0
PHP Version: 8.5.10
Composer Version: 2.10.3
Environment: production
Debug Mode: OFF
Maintenance Mode: OFF
Timezone: America/Chicago
Locale: en

Cache
Config: NOT CACHED
Events: NOT CACHED
Routes: NOT CACHED
Views: CACHED

Drivers
Broadcasting: pusher
Cache: file
Database: mysql
Logs: stack / single
Mail: postmark
Queue: sync
Session: file

Storage
public/storage: LINKED

Statamic
Addons: 9
License Key: Set
Sites: 4 (site1, site2, site3, site4)
Stache Watcher: Disabled
Static Caching: Disabled
Version: 6.34.0 PRO

Statamic Addons
4rn0/statamic-image-optimizer: 1.3.0
aryehraber/statamic-color-extractor: 2.1.0
isapp/statamic-honeypot: 6.0.0
jacksleight/statamic-bard-texstyle: 4.2.1
mitydigital/feedamic: 3.0.13
mitydigital/sitemapamic: 3.5.1
rias/statamic-redirect: 4.2.1
statamic/seo-pro: 7.14.1
stillat/antlers-layouts: 2.1.1
Installation

Fresh statamic/statamic site via CLI

Additional details

No response

Ngôn ngữ chính
PHP
Star
4.9k
Fork
647
Merge trung bình
1 ngày 8 giờ
Pull request đã merge (30 ngày)
100

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của statamic/cms

Tất cả issue của statamic/cms

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.