Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Link type "Category" - is empty #211

Open
ManiakMill opened this issue Nov 13, 2024 · 2 comments
Open

Link type "Category" - is empty #211

ManiakMill opened this issue Nov 13, 2024 · 2 comments

Comments

@ManiakMill
Copy link

Describe the bug

I added custom categories and try to choose by field. All categories have items.

{0BA33F25-6C45-4E47-A313-4B8EF493E64A}

But overview is empty:
{DCA77139-08E2-4873-8527-A69A8B16AEED}

Steps to reproduce

Craft CMS version

Craft Pro 5.4.10.1

Plugin version

2.1.2

Multi-site?

No

Additional context

No response

@ManiakMill
Copy link
Author

Its happened when Category URI Format is empty

@engram-design
Copy link
Member

That's correct, Hyper will only show elements that have a URL by default. This was a feature request from many of the other link plugins which we incorporated into Hyper.

But it's also a reasonably common issue that crops up so I'm thinking I might need to add a plugin setting to control this.

The logic here is that there's not much use selecting an element for a link, if that element has no URL - the thing that makes a link. But then, there are always exceptions like User elements, which don't have a URL. But you might be constructing that logic in your templates manually, and you'd still want your content editors able to pick a User element.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants