Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I have made a functionality for my multilingual site, where a copy is created in all other projects when I create an item in one of them.
so if I create an item in my english version of my site, a copy will be created in the french one...
Now, i am trying to make a functionality for deletion in the same way.
so if I delete an item in the englsih site, I want the related items in all the other languages/sites to be deleted. Anybody know how that is done???
I take it you coded a custom event handler (also called an action handler, depending on the version of Umbraco you're using) that creates the copies of new pages in the other language sites. You probably used either the Create or Publish event to trigger your code. That's certainly how I'd do it.
You'd do the same sort of thing for deleting. Create a custom event handler that is triggered by the Delete event. Look for any related pages of the page you're deleting and delete them as well.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted