Help? I accidentally deleted my theme (and all my work)
1. How can I get the theme back
2. Is there a way to restore everything I had previously done???
You can get another copy of the theme files from the original C5 download. The file path is /concrete/themes/greek_yogurt. Just copy all the files in that folder to the same path in your installation.
All the content you developed should still be present in the database, so once you restore your theme files, you should be able to see it again.
You should also be able to just switch to another theme from the dashboard, and that should also "bring back" your content.
insert into PageThemes (ptHandle) values ('greek_yogurt');
And Greek Yogurt should come back into your Dashboard themes page. Then activate that theme for your site and it will look as it did.
You would 'execute' it in something like phpMyAdmin in the control panel for your hosting, against your concrete5 database.
something labelled "phpMyAdmin" or "Database" or something like that,
you would choose that option, find the database you used when
installing concrete5, open that database, look for something called
"Execute Query" or "Run SQL" or something like that, and paste in what
I pasted before.
Sorry this is such a pain. We probably should at the very least have
an "Are you sure?!" when deleting a theme.
Thanks for the help!