删除一个magento主题-回滚到默认 [英] Remove a magento theme - Rollback to default

查看:118
本文介绍了删除一个magento主题-回滚到默认的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这是我第一次与Magento合作,这是发生的事情:我花了两天时间阅读文档并根据自己的需要调整设置.然后,我安装了这个主题:

This is my first time working with Magento and here is what happend: I spent two days reading the documentation and tweaking the settings to fit my needs. I then installed this theme:

http://themeforest.net/item/decostore-magento-theme/1876494?WT.ac=category_thumb&WT.seg_1=category_thumb&WT.z_author=8主题

问题是该主题无法按我期望的方式工作,现在我想回滚到默认主题,并完全删除该主题添加到我的安装中的所有内容.

The problem is that the theme didn't work the way I was expecting and now I'd like to rollback to the default theme and completely remove everything added by this theme to my installation.

不幸的是,在安装新主题之前,我没有备份安装和数据库,也不知道从哪里开始.

Unfortunately, I didn't backup the installation and database before I installed the new theme and I have no idea where to start.

谢谢.

推荐答案

1.切换回默认主题

转到管理区域,然后system > configuration > design

将当前程序包名称"更改为默认",并确保主题"部分下的所有输入均为空.这将使您返回默认主题.

Change "Current Package Name" to 'default' and make sure all inputs under the "Themes" section are empty. This will return you to the default theme.

2.完全删除此主题添加的所有内容

我从您的问题中认为您没有使用任何形式的源代码管理.将来可能会想到一个想法:)

I take it from your question that you are not using any form of source control. Might be an idea to look into this for the future :)

Magento 1.7引入了备份和回滚功能,因此您可能还需要检查一下.

Magento 1.7 has introduced backup and rollback features so you may also want to check that out.

在这种情况下,请按照以下说明备份所有内容,然后再开始删除文件和目录

无论如何,要完全删除安装模块时添加的所有文件和目录,不幸的是,这只是手动查找要删除的文件和目录的情况.

Anyway, to completely remove all files and directories added when you installed the module, unfortunately it will simply be a case of manually finding the files and directories deleting.

最简单的方法是找到购买主题时收到的原始源代码,并从网站中删除相应的文件. 删除目录时,请注意仅删除特定于主题的目录-系统会将其发送给您,以便您可以轻松地将其直接拖到您的Web根目录中-因此将包含一些其他目录Magento,只是为了给它正确的层次结构.

The easiest way to do this will be to find the original source code you received when you purchased the theme and removing the corresponding files from your site. When removing directories be careful to only remove those specific to the theme - It will have been sent to you structured so that you can easily drag straight in to your web root - so will contain some other directories required by Magento, simply to give it the correct hierarchy.

至少在以下目录中将包含特定于主题的文件和文件夹:

At the very least there will be files and folders specific to the theme located in the following directories:

  • app/design/frontend
  • 皮肤/前端
  • js

以及以下内容中的更多可能性:

and also most likely some more in the following:

  • app/etc/modules
  • app/design/adminhtml
  • 应用/语言环境

这篇关于删除一个magento主题-回滚到默认的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆