Reputation: 614
I'm new to Prestashop development. The first thing I've tried is to create a new theme copying the default theme directory in Prestashop 1.6. The problem I have is that, once created, the theme is not detected by Prestashop: is like the directory wasn't there.
If I create a new theme from the admin panel and replace the directory content with the same files, it works ok.
What should I do to make Prestashop detect my theme? I haven't found any information about it.
Thanks a lot.
Upvotes: 0
Views: 2040
Reputation: 1
For people who are using Prestashop 1.7 or higher and is facing the same problem when copying the Starter Theme, I recommend you to check if you actually have a themes/your_theme/config/theme.yml
configuration file because the one that is loaded by default is a theme.dist.yml
so Prestashop won't recognize it.
Upvotes: 0
Reputation: 1863
I already answered on similar question here, there are two ways to solve your issue through backoffice
Preferences -> Theme
press Add new theme
button and then at the bottom Create new theme
+ choosing Copy missing files from existing theme
.OR if you already copied theme dir/files by FTP
Name of the theme's directory
Upvotes: 2
Reputation: 1
This is actually the way it is done - Copying the default theme.
There could be several reasons for that:
Here is additonaly info after the copying to do some cleanup: http://doc.prestashop.com/display/PS15/Creating+your+own+theme
Also it is perfectly fine to create a copy of the default theme from the backend. You can find instructions here: http://doc.prestashop.com/display/PS16/Laying+the+Theme's+Foundations#LayingtheTheme'sFoundations-Standingontheshouldersofgiants:copyingthedefaulttheme
Upvotes: 0