Andrej Stas Posted August 11, 2016 Share Posted August 11, 2016 (edited) On July 18th Prestashop sent an email to all developers, inviting them create new themes for Prestashop 1.7 Now it's almost 1 month later, but I still cannot find any information how to actually prepare the theme ZIP for installation and what its structure should be like. Am I missing something or there's really no info on this?Thank you Edited August 15, 2016 by Andrej Stas (see edit history) Link to comment Share on other sites More sharing options...
razaro Posted August 11, 2016 Share Posted August 11, 2016 Hi While there are not lot of info but if you did not saw this check https://github.com/PrestaShop/docs/tree/master/themes/getting-started and that whole docs gives some info. Also check https://www.prestashop.com/forums/topic/538034-help-using-webpack/ maybe it will help. 1 Link to comment Share on other sites More sharing options...
Julien Bourdeau Posted August 11, 2016 Share Posted August 11, 2016 I didn't write the documentation yet, I'll do it as soon as possible. Don't worry to much about it, it's very easy. There is no theme export like in 1.6, you just have to archive your theme and modules in a zipball. I'll document the exact structure. 2 Link to comment Share on other sites More sharing options...
XtreM726 Posted August 12, 2016 Share Posted August 12, 2016 I downloaded the beta version, put it on my localhost server folder (htdocs/ps7) when I access 127.0.0.1/ps7, the zip file unzipped automatically. 1 Link to comment Share on other sites More sharing options...
Andrej Stas Posted August 15, 2016 Author Share Posted August 15, 2016 Hi While there are not lot of info but if you did not saw this check https://github.com/PrestaShop/docs/tree/master/themes/getting-started and that whole docs gives some info. Also check https://www.prestashop.com/forums/topic/538034-help-using-webpack/ maybe it will help. Thank you for the links, I will have a look I didn't write the documentation yet, I'll do it as soon as possible. Don't worry to much about it, it's very easy. There is no theme export like in 1.6, you just have to archive your theme and modules in a zipball. I'll document the exact structure. Perfect, that will be great! Where can I find the documentation once it's ready? Thank you I downloaded the beta version, put it on my localhost server folder (htdocs/ps7) when I access 127.0.0.1/ps7, the zip file unzipped automatically. My question was not about installing Prestashop, but about the structure of the theme ZIP, thank you anyway Link to comment Share on other sites More sharing options...
Andrej Stas Posted August 24, 2016 Author Share Posted August 24, 2016 I didn't write the documentation yet, I'll do it as soon as possible. Don't worry to much about it, it's very easy. There is no theme export like in 1.6, you just have to archive your theme and modules in a zipball. I'll document the exact structure. Hi Julien, any update about the Theme documentation? Link to comment Share on other sites More sharing options...
Julien Bourdeau Posted August 26, 2016 Share Posted August 26, 2016 Hi Julien, any update about the Theme documentation? Next week i'm getting on documentation, I have loads of stuff I want to write. Also I thought about making a command for it like `php app/console prestashop:theme:release mythemename`, I hope I can do it 1 Link to comment Share on other sites More sharing options...
Andrej Stas Posted September 10, 2016 Author Share Posted September 10, 2016 Next week i'm getting on documentation, I have loads of stuff I want to write. Also I thought about making a command for it like `php app/console prestashop:theme:release mythemename`, I hope I can do it Hi Julien, just sending a friendly reminder, I think it is important for many developers to know the exact structure of the theme zip. Thank you Link to comment Share on other sites More sharing options...
tdr170 Posted September 17, 2016 Share Posted September 17, 2016 I can add a theme by downloading my modified theme then simply rename the folder msrp in this case I then edited the theme.yml file and changed the classic to msrp and theme_name to MSRP uploaded to the theme folder and was able to Use this theme from BO. Interesting is that have never been able to unzip a file on a live server from within an FTP is there something I do not know, oh wait there is a lot I don't know. LOL So if there is not a theme upload how do you unzip a theme and modules onto your 1.7 shop. TESTING TESTING!! Link to comment Share on other sites More sharing options...
Andrej Stas Posted September 29, 2016 Author Share Posted September 29, 2016 I can add a theme by downloading my modified theme then simply rename the folder msrp in this case I then edited the theme.yml file and changed the classic to msrp and theme_name to MSRP uploaded to the theme folder and was able to Use this theme from BO. Interesting is that have never been able to unzip a file on a live server from within an FTP is there something I do not know, oh wait there is a lot I don't know. LOL So if there is not a theme upload how do you unzip a theme and modules onto your 1.7 shop. TESTING TESTING!! I would like to also add modules and install them simultaneously with the theme. However I didn't find how to do that. Next week i'm getting on documentation, I have loads of stuff I want to write. Also I thought about making a command for it like `php app/console prestashop:theme:release mythemename`, I hope I can do it Any update Julien? Link to comment Share on other sites More sharing options...
tdr170 Posted September 29, 2016 Share Posted September 29, 2016 One thing I did find is that even though I was able to load the theme it worked halfway, it did not remember theme page settings this is a 2 column theme and I had to reset the pages. I to will need to add modules as some of the mods half to be done to the module (no files in theme structure) at this time it seems that adding themes to this version will not be as simple as it was with previous versions. Not sure what this will mean for new users many of which install through their host control panel and uploading theme, modules, zip whatever is going to be problematic at best. Bring back the Import, Export themes and make this easy for all. Link to comment Share on other sites More sharing options...
Krystian Podemski Posted September 29, 2016 Share Posted September 29, 2016 Yeah, import/export tool is great in 1.6, it's been a lot easier to work with it, now we have more control over how the theme should behave and look, but for sure for many people it would be much easier to just export finished theme, and for merchants just import theme by "Add new theme" from Preferences -> Design Link to comment Share on other sites More sharing options...
Andrej Stas Posted September 30, 2016 Author Share Posted September 30, 2016 I agree with you guys and wish for Import Export Theme as it worked in 1.6. I don't understand why Prestashop was asking developers to create themes in July when they didn't provide any guidelines until now. Link to comment Share on other sites More sharing options...
Julien Bourdeau Posted October 17, 2016 Share Posted October 17, 2016 Hi, Here is the pull request, it will be merged soon. Once merged, you can export your theme with this command: "php app/console prestashop:theme:export themename" :tada: 2 Link to comment Share on other sites More sharing options...
Xavier Borderie Posted October 17, 2016 Share Posted October 17, 2016 The pull request in question: https://github.com/PrestaShop/PrestaShop/pull/6701 Please test it, dear contributors! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now