Template switch and loose content
Permalink
Hello,
I have several pages based on a template. I change the "Default Page Template" from the "index.php/dashboard/pages/types/edit/" page and every single page based on this template just got away !
Just like that.
Is there anyway to recover all the content beside restoring from backup - which isn't very user friendly at all ?
Thanks
I have several pages based on a template. I change the "Default Page Template" from the "index.php/dashboard/pages/types/edit/" page and every single page based on this template just got away !
Just like that.
Is there anyway to recover all the content beside restoring from backup - which isn't very user friendly at all ?
Thanks
I reverted to the previous template but the pages still didn't show up.
I also noticed that it is indeed dangerous to change a page template because of the 99% risk to loose your content.
I also noticed that it is indeed dangerous to change a page template because of the 99% risk to loose your content.
Your content still exists in the database. You just have to make sure the new template you switched to has the same content areas names you used in the old template.
Would I have to dive into the hard coded templates to check this out ?
Hello @Gondwana and @stewblack23,
Thank you for your quick reply. Both your replies make sense but I have changed the pagetype back to the former template only to notice that my content hadn't come back.
Since it was a quite urgent matter, I restored from the backup I made early in the morning.
And I'll investigate more how can such thing can be avoided, as it may happen to everyone.
Thanks
Thank you for your quick reply. Both your replies make sense but I have changed the pagetype back to the former template only to notice that my content hadn't come back.
Since it was a quite urgent matter, I restored from the backup I made early in the morning.
And I'll investigate more how can such thing can be avoided, as it may happen to everyone.
Thanks
...and take another backup (without over-writing your previous backup), just in case things get worse.