Try our conversational search powered by Generative AI!

Tobias Nilsson
Aug 3, 2011
  4462
(1 votes)

A restore page plugin

Hi everyone!

I recently created a plugin that borrows it's functionality from the Windows wastebasket. In Windows you can restore a file you have deleted, i.e. moved to the wastebasket. I wanted to replicate this behavior for EPiServer CMS. And with further ado:

Retore Page Plugin

Like I said it will give you the possibility to restore the page back to its previous owner (parent). So let's say that you deleted a page and now you want it back in the site tree, but you can't remember under which root is was located.Page restore to the rescue!

 

Now you can right click the page and select "Restore", it wil then bring you to a confirmation page where you can see where in the site tree it will be relocated before actually doing anything. And that's about it!

This is in no way tested or tried thoroughly. I was hoping you guys could be my lab monkies and test it out ;).

But if you do find anything strange, report it to me and I'll see if I can be bothered to do anything about it.

 

DOWNLOAD

The package has been updated as I forgot to include the part of the code that was responsible for setting up the menu button, but also the part which added and deleted restore points when you moved pages. Sorry for that ;)

Aug 03, 2011

Comments

Joshua Folkerts
Joshua Folkerts Aug 11, 2011 04:54 PM

Very nice. Works like a charm. Nice work Tobias

Please login to comment.
Latest blogs
The A/A Test: What You Need to Know

Sure, we all know what an A/B test can do. But what is an A/A test? How is it different? With an A/B test, we know that we can take a webpage (our...

Lindsey Rogers | Apr 15, 2024

.Net Core Timezone ID's Windows vs Linux

Hey all, First post here and I would like to talk about Timezone ID's and How Windows and Linux systems use different IDs. We currently run a .NET...

sheider | Apr 15, 2024

What's new in Language Manager 5.3.0

In Language Manager (LM) version 5.2.0, we added an option in appsettings.json called TranslateOrCopyContentAreaChildrenBlockForTypes . It does...

Quoc Anh Nguyen | Apr 15, 2024

Optimizely Search & Navigation: Boosting in Unified Search

In the Optimizely Search & Navigation admin view, administrators can set a certain weight of different properties (title, content, summary, or...

Tung Tran | Apr 15, 2024