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

Configure custom URL presets #353

Open
robinbisping opened this issue May 23, 2023 · 3 comments
Open

Configure custom URL presets #353

robinbisping opened this issue May 23, 2023 · 3 comments

Comments

@robinbisping
Copy link

robinbisping commented May 23, 2023

What are you trying to do?

If a site contains custom routes that are not represented as elements, one can currently only add them to a navigation as custom URLs. This works, of course, but sometimes users are unaware of what custom routes exist. Hence, it would be helpful to be able to add them as selectable nodes.

What's your proposed solution?

I propose adding a custom URL presets configuration for each navigation. The configured custom URLs can then be selected within the node selection GUI.

Additional context

No response

@robinbisping robinbisping changed the title Create custom route nodes Configure custom URL presets May 23, 2023
@engram-design
Copy link
Member

An interesting idea! I'll consider whether this should be bundled with the Custom URL node type (as presets), or it's own, separate node type.

@robinbisping
Copy link
Author

Good point. Adding a seperate "routes" node type might be cleaner.

@engram-design
Copy link
Member

I may not call it "routes" just to ensure people don't think it refers to automatically pulling in Craft's routes (Settings > Routes), but good idea nonetheless.

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

No branches or pull requests

2 participants