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

Site events #1169

Closed
SteveEdson opened this issue May 23, 2024 · 2 comments
Closed

Site events #1169

SteveEdson opened this issue May 23, 2024 · 2 comments
Assignees

Comments

@SteveEdson
Copy link

In V5, when editing, adding or deleting a site, it would be good to fire an event, like Statamic does for other content types.

This way, we can hook into it to:

  • clean up the content files which are left over when the site is deleted
  • move the content files if the handle changes
  • create some skeleton files for new sites
@Sennik
Copy link

Sennik commented Jul 6, 2024

I agree to this and I like to add a feature related to this:

When creating a new site it would be nice to have the option to start with a copy of the content of an existing site. My translators prefer translating content by replacing it with their language and I personally like to start with structure/content when I am adding a new site to a multisite configuration.

@jackmcdade
Copy link
Member

Closing this FR because we're already working on it here! statamic/cms#10403

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

5 participants