nhelliwell Posted June 17, 2014 Share Posted June 17, 2014 Hello, Just finished upgrading test site from 1.6.0.6 to 1.6.0.7. Is there a technique to the 1-Click Upgrade module for a custom theme. Upgrade process forgets all your enabled modules, resets module positions, and resets image sizes. Upgrade works, but it's quite a job to repair the layout afterwards. Thanks Link to comment Share on other sites More sharing options...
NemoPS Posted June 18, 2014 Share Posted June 18, 2014 no, there is not, sadly. What if you re-enable the default theme, and again switch to the custom one? you should get the modules/positions/image sizes back no, there is not, sadly. What if you re-enable the default theme, and again switch to the custom one? you should get the modules/positions/image sizes back Link to comment Share on other sites More sharing options...
nhelliwell Posted June 18, 2014 Author Share Posted June 18, 2014 Morning, thanks for the reply. I'll upgrade my main site today, so can give it a try. Upgrade enables the default theme (by default), so do you mean switch to my custom theme, back to default, and then again to my custom theme? Do you know where prestashop stores enabled/disabled modules, and their positions? Before I hunt through the DB. One other thing, should there be any prestashop devs lurking who are thinking "Hey, this dude's right, lets get right on and fix this": When you switch to a theme, it asks which modules you would like to enable or disable. This list doesn't display any custom modules, so you have to do it through the modules screen, I have many, this is really adding to my time consumption (as well as the above). Keep up the good work, Cheers Link to comment Share on other sites More sharing options...
nhelliwell Posted June 18, 2014 Author Share Posted June 18, 2014 Enabling or disabling theme, before or after update, made no difference. Some other things: - When changing theme it asks which modules to enable or disable. It ignored my requests and enabled whatever it wanted to. - Theme chooser page is now still showing default bootstrap theme as the one selected, even though front office is definitely using my custom theme. Link to comment Share on other sites More sharing options...
NemoPS Posted June 20, 2014 Share Posted June 20, 2014 Really weird, something probably went wrong during the upgrade. Try replacing controllers/admin/adminthemescontroller with a fresh one from the original new package, and see if it helps. As for the list of modules, etc...I thought it was config.xml but I was wrong, I'm guessing myself at the moment, but it should be something that comes with the theme, as purchased 1.6 themes are usually setup correctly with the right modules, upon install Link to comment Share on other sites More sharing options...
nhelliwell Posted June 20, 2014 Author Share Posted June 20, 2014 hi, Yes, I applied the fixes, in the stickied post regarding 1.6.0.7 bugs, to the AdminThemeController and that has solved the issue with the correct theme not appearing. My config.xml files, in default theme, and custom, don't contain much information: <?xml version="1.0" encoding="UTF-8" ?> <theme> <version value="1.4"> <ccc available="true" /> <guest_checkout available="true" /> <one_page_checkout available="true" /> <store_locator available="true" /> </version> </theme> But I've just exported the custom theme, and can see all the module and position info. So for next upgrade, I will export and reimport the custom theme and see if that helps. Cheers 1 Link to comment Share on other sites More sharing options...
Recommended Posts