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 like to extend copy functionality to show message or dialog when copy finished.
Also, when copy published page I want to set copied page as unpublished and set username of the person who copied page instead of original page creator.
Any help really appreciated.
You can do this using the Copying or Copied event on the contentservice
Managed to extend ContentService.Copying
protected override void ApplicationStarted(UmbracoApplicationBase umbracoApplication, ApplicationContext applicationContext)
ContentService.Copying += ContentServiceOnCopying;
public void ContentServiceOnCopying(IContentService sender, CopyEventArgs<IContent> copyEventArgs)
// Change property
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted