开发者

Backup Magento Theme

开发者 https://www.devze.com 2023-04-11 03:54 出处:网络
I am making some changes to a purchased magento theme. Is there any simpler way to backup my work other than by copying the relevant folders开发者_C百科 inside app skin and media and their directory s

I am making some changes to a purchased magento theme. Is there any simpler way to backup my work other than by copying the relevant folders开发者_C百科 inside app skin and media and their directory structures.


What I recommend that you do is to have your purchased theme as your default theme, i.e. in the "default" folder under your package. You can then declare another theme, e.g. "custom", and copy the path/files to there that you wish to override. You just need to set the "Default" value to "custom" in Admin > System > Configuration > Design > Theme.


Just thought I'd answer this for anyone coming along - as far as i can make out the answer to the question is no, not really - unless I'm doing it the wrong way - ( and I think not ) then the best method of backing up a custom theme is to first compress the entire app, skin and media ( if relevant) directories into one archive file, move this and expand it in an empty directory, then carefully delete all the other theme folders, leaving just the files which you are using and the directory trees which you have created - this preserves any files you have in your custom theme and also the necessary directory structure. If anyone has a better method maybe they'd share it.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号