Delete a theme (Only one theme present)

Permalink
I installed concrete5 and during the installation, I chose the full site instead of an empty site. How can I delete the theme that I chose. What I need is actually an empty site. Please let me know what steps to follow.

Thanks!

 
Kurtopsy replied on at Permalink Best Answer Reply
Kurtopsy
Hi adityab,

You should be able to remove the theme by deleting the 'elemental' folder off the server. That folder is located at /concrete/themes/elemental.

Kurt
adityab replied on at Permalink Reply
I did that but after doing that I lost access to the dashboard
Kurtopsy replied on at Permalink Reply
Kurtopsy
I just tried it on a mamp install, and I was able to. Without the toolbar you access the dashboard by going tohttp://yourdomain.com/index.php/dashboard....
adityab replied on at Permalink Reply
Thanks a lot!
tallacman replied on at Permalink Reply
tallacman
Just a heads up here. Do not mess with anything in the concrete folder. Those are the core files. It should be impossible to delete the active theme in the dashboard. If you want to get rid of elemental theme you must install another theme first, activate it and then delete elemental in the themes dashboard window.

See this for more info:http://documentation.concrete5.org/tutorials/be-responsible-never-h...
aruben replied on at Permalink Reply
aruben
Hi,

Deleting the 'Elemental theme' is not a good idea.
All pages of the dashboard are referenced with the "ThemeID=1" (see table 'CollectionVersions' in DB), and ThemeID=1 is the 'Elemental theme' (even if they don't use it).
This action may cause errors later (I have experimented it, and I had to reinstall everything!).
The better is to load and activate another theme, and always keep the Elemental theme (in the Concrete folder and in list of available themes in the dashboard).
As "Tallacman" said: "Do not mess with anything in the concrete folder".

Furthermore, the next upgrade version installs again the Elemental theme and then can break your site if you had deleted it.

For your needs (an empty site), I suggest you to re-install again the site choosing the empty theme.
Both ('full' and 'empty' install) install the 'Elemental theme', but the 'full install' adds some datas in the database (the whole exemple website).
Removing the theme don't remove the datas in the DB. You need to delete them manualy (or by a script if it exists).
Deleting the datas in the DB is touchy. The best way is to go to the dashboard and delete all the pages of the site ; and after, go to the home page and remove all it content ; and go to the File Manager to delete the unwanted files/images.

Once again, if you want to start with a clean install, re-install it, add/activate another theme and don't touch the Elemental theme.

Regards,
ARuben