Jump to content

How to prepare a theme ZIP for installation?


Andrej Stas

Recommended Posts

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 by Andrej Stas (see edit history)
Link to comment
Share on other sites

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

  • 2 weeks later...

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

  • 2 weeks later...

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

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

  • 2 weeks later...

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

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

  • 3 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...