-
Notifications
You must be signed in to change notification settings - Fork 638
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 for removing a site from an entry #7190
Comments
It’s currently working as intended, so not a bug. I didn’t add the ability to remove a site because I’m worried it will be too easily misunderstood, and authors will end up unintentionally deleting content. Perhaps I can add an option alongside “Delete entry” in the Save menu dropdown, for deleting the entry for the currently selected site. |
Alright, this is added for Craft 3.6. Going forward, if both of these are true:
…and one of the following are true:
…then the Save button will have a new “Delete [draft/entry] for this site” option: Upon clicking it, you will be redirected back to the entry/draft in another site that is still active, or back to the Entries index if you didn’t have permission to access any of the other sites. |
Thanx for this Brandon. You’re so quick I haven’t had time to share my own proposition for this ;) Give me a few hours to see what you did here and compare it to what I was about to share as a solution. But it looks like you nailed it as always. Just trying to see what you mean by « enabled » for at least 2 sites. Do you mean published (why then?) or existing (obvious)? And I was thinking about relocating the add site to the action bar. Let me finish thinking this through and getting back to you. And again, as always, this is some unbelievable great work you’re doing. |
Sorry for the confusion… I meant that the entry exists for at least two sites; it doesn’t have to be enabled for them though. (It would be awkward to have the “Delete entry for this site” option on a single-site entry.) |
Craft 3.6 RC2 is out now with this change. |
Craft 3.6 has now been officially released ✨ |
Description
I have logged an enhancement ticket to multisite here : #7189
But I think the premise of my ticket could be considered a bug, or at least an incongruity as you cannot undo or cancel something you may have done and change your mind afterwards. It's a one way ticket. Let me explain:
When the channel propagation method is to let each entry choose which site it should be saved to, we get a button to add a site in our entry form, but once added, we get no way to remove a site, only a way to deactivate, which is not the same.
If we are able to explicitly add a site to the entry so it can be activated / deactivated, we should be able to remove a site from the entry so that the entry is not listed anymore as a site element.
You can add a new Site to an Entry:
But once added, you cannot remove it, only disable it:
The text was updated successfully, but these errors were encountered: