close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

Deleted content tab

Thread began 10/06/2009 12:01 pm by zanimul379168 | Last modified 10/07/2009 11:27 am by zanimul379168 | 1991 views | 4 replies |

zanimul379168

Deleted content tab

Well, despite all my warnings and explicit instructions, one of my users up and deleted content by clicking on the "View/Edit Content" tab and deleting the entire page and consequently the Tab for it as well.

Is there any way to recover from this mistake? The content appears to still be there in the content_history table.

Sign in to reply to this post

Jason ByrnesWebAssist

Go to the View Edit Content page in the PowerCMS Admin section, find the page for the content that was deleted and click the History button.

This will show the history for any CMS Content, and allow you to revert to a backup by click ing the revert link.

Sign in to reply to this post

zanimul379168

Originally Said By: Jason Byrnes
  Go to the View Edit Content page in the PowerCMS Admin section, find the page for the content that was deleted and click the History button.

This will show the history for any CMS Content, and allow you to revert to a backup by click ing the revert link.  



Ya, that would work had the users not deleted the page itself. I'm thinking that if I just recreate the "Page" that I could copy the deleted content that seems to still be in the "content_history" table. Anyone knwo if that will work?

Sign in to reply to this post

Jason ByrnesWebAssist

Ahhh OK, now i understand the problem a bit more.


You will need to get into the database and make some changes there for this to work. I strongly recomend backing up the DB before proceeding, just in case.


each Page Name | Content Area is given a unique ID


You can recreate a new Page Name | Content Area record on the insert tab, then you will need to go into the "contents" table and find the "ContentID" value for the record tha twas just created.


Now, open the "contenthistory" table, the "HistoryContentID" column is a foriegn key relation to the "contents.ContentID column, find the record histories that belong to the page that was deleted, and you can change the HistoryContentID value to the new one that was created to relate them.

This should allow you to retrieve the old content through the history page.

Sign in to reply to this post

zanimul379168

Thanks Jason, that exactly the scenario I was thinking would work - though I wasn't sure of which table I needed to work with.

Jeff

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...