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

Allow singles to have no URL #3883

Closed
carlcs opened this issue Feb 21, 2019 · 3 comments
Closed

Allow singles to have no URL #3883

carlcs opened this issue Feb 21, 2019 · 3 comments
Labels
enhancement improvements to existing features site development 👩‍💻 features related to website/API development

Comments

@carlcs
Copy link
Contributor

carlcs commented Feb 21, 2019

When Craft is used as a headless CMS, you might still have one off entry types for certain content. Can we please have a “Entry doesn’t have a URL” option for single sections, which disables the route and Live Preview.

I guess you could benefit from it yourself! 😉
https://github.com/pixelandtonic/craftnet/blob/master/src/controllers/api/v1/PluginStoreController.php#L106

@brandonkelly brandonkelly added enhancement improvements to existing features site development 👩‍💻 features related to website/API development labels Feb 21, 2019
@brandonkelly
Copy link
Member

I’ve been wondering about this ever since #3830. Will put this on the 3.2 list.

@brandonkelly brandonkelly added this to the 3.2 milestone Mar 11, 2019
@jalendport
Copy link
Contributor

Just chiming in to say I'm looking forward to this as well 👍

@brandonkelly brandonkelly modified the milestones: 3.2, 3.3 Aug 22, 2019
@brandonkelly
Copy link
Member

brandonkelly commented Aug 22, 2019

This is added for Craft 3.3!

Now there is a dedicated Homepage checkbox, and when the URI is blank, it behaves the same as other section types — the single entry won’t get a URL

Screenshot of Site Settings for a Single section

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement improvements to existing features site development 👩‍💻 features related to website/API development
Projects
None yet
Development

No branches or pull requests

3 participants