Opencart修改系统相关问题 [英] Opencart Modification System Related Questions

查看:72
本文介绍了Opencart修改系统相关问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从很短的时间就开始使用opencart了.但是我对Vqmod,Ocmod和第三方扩展一无所知.我对他们有几个问题.我已经搜索了Goolge和论坛,但没有找到解决方案,因此我来寻求帮助.如果有人指导我,我将非常感谢.

I have been using opencart since a short time. But I know nothing about Vqmod, Ocmod and third part extensions. I have few questions about them. I have searched Goolge and forum but did not find a solution, so I came to you for help. I would be greately thankful if someone guides me.

  1. Ocmod或Vqmod安装是否对oencart的核心文件进行了任何更改

  1. Does Ocmod or Vqmod installation makes any changes to core files of oencart

如果要安装其他任何第三方扩展名,是否必须安装Ocmod或Vqmod才能避免核心文件的更改

Does Ocmod or Vqmod installation is necessary to avoid changes in core files, if we install anyother third party extensions

如果我们手动安装没有ocmod.zip或vqmod.zip文件扩展名的第三方扩展名,是否会对核心文件进行更改

If we install a third party extension without ocmod.zip or vqmod.zip file extension manually, does it make changes to core files

Ocmod和Vqmod是由opencart本身开发的,还是由独立开发人员和opencart社区开发的.

Has Ocmod and Vqmod been developed by opencart itself or it is developed by independent developers and opencart community.

是否需要在不同文件中进行更改的其他ocmod或vqmod,例如主题,控制器和目录,或者相同的ocmod或vqmod可以执行所有任务

Does different ocmods or vqmods are needed to make changes in different files for example theme, controller and catalog or same ocmod or vqmod can perform all the tasks

在何处下载标准ocmod或vqmod以在opencart中进行更改而不会影响核心文件.我去了opencart市场.我找到了ocmod管理器,ocmod编辑器,ocmod下载器.但是我没有找到ocmod或vqmod扩展名来更改opencart文件(例如主题)而不会影响核心文件.

Where to download standard ocmod or vqmod to make changes in opencart without effecting the core files. I went to opencart market place. I found ocmod manager, ocmod editor, ocmod downloader. But I did not find ocmod or vqmod extension to make changes in opencart files for example theme without effecting core files.

推荐答案

  1. OCMOD或VQMOD安装不会对OpenCart的核心文件进行任何更改.这是这两个系统的主要目的.进行更改而不进行更改.这些系统正在创建具有更改的核心文件的缓存副本,这些副本是由OCMOD或VQMOD文件实现的.
  2. 第三方扩展有时不需要任何核心更改.他们只能将新文件和新表添加到数据库.但!当第三方扩展需要覆盖核心文件时,他们必须使用OCMOD或VQMOD来完成.有时他们必须更改核心文件,但是使用此类扩展名时应格外小心.这可能会导致其他扩展名(使用OCMOD或VQMOD调用同一文件)之间发生冲突.
  3. 如果您手动安装没有ocmod.zip或vqmod.zip文件扩展名的第三方扩展名,则FTP客户端会询问您是否要重写某些特定文件,是否有任何文件要重写,因此您可以这些文件的备份或分析新文件中进行了哪些更改.在其他情况下,您将仅粘贴新文件,而无需重写任何内容.
  4. VQMOD已在OpenCart 1.5版本中开发.它是在OpenCart主核心之外开发的独立扩展.必须安装手册.从OpenCart版本2-OCMOD开始实施.它是根据VQMOD的图像和相似性开发的,但有一些差异.OCMOD是OpenCart固有的,并且已完全集成.
  5. 使用OCMOD或VQMOD,您只能在 .php .tpl .twig 文件中进行更改,您无法进行任何更改仅通过添加新文件来更改 .css .js .
  6. 首先.忘了VQMOD,它已经过时了.OCMOD是本机的,并且得到95%的扩展的支持.而那些不支持OCMOD的扩展-虽然大多数已经过时了.OCMOD文件基本上是一堆关于在哪里可以找到代码以及如何使用它的语句(替换它或在它之前/之后添加一些内容).结果是更改后缓存了核心文件.您通常可以在 /system/storage/modification/ 中对它们进行罚款.如果安装了新的OCMOD文件,则应清除缓存以实施更改.有关 OCMOD缓存清理的更多信息.
  1. OCMOD or VQMOD installation doesn't make any changes to core files of OpenCart. That's the main purpose of these two systems. To make changes without making changes. These systems are creating cached copies of the core files with changes, which were implemented by OCMOD or VQMOD files.
  2. Third party extensions sometimes doesn't need any core changes. They may only add new files and new tables to database. BUT! When third party extensions need to overwrite core files - they have to use OCMOD or VQMOD to do it. Sometimes they have to change core files, but you should be careful with this kind of extensions. That may cause conflicts between other extensions, which are calling the same file with OCMOD or VQMOD.
  3. If you install a third party extension without ocmod.zip or vqmod.zip file extension manually, your FTP client will ask you, if you want to rewrite some specific files, if there are any files to rewrite, so you can make backups of those files or to analyse what changes has been made in new files. In other cases you will only paste new files without rewriting anything.
  4. VQMOD has been developed somewhere in OpenCart 1.5 version. It's a standalone extension developed outside of the main OpenCart core. Have to be installed manual. Since OpenCart version 2 - OCMOD was implemented. It has been developed in the image and likeness of VQMOD, but with several differences. And OCMOD is native to OpenCart and fully integrated.
  5. Using OCMOD or VQMOD you can make changes only in .php, .tpl and .twig files, you can't make any changes in .css or .js, only by adding new files.
  6. First of all. Forget about VQMOD, it's outdated. OCMOD is native and supported by 95% of extensions. And those extensions who doesn't support OCMOD - are although mostly outdated. OCMOD file is basically a bunch of statements of where to find some code and what to do with it (replace it or add something before/after it). And the result is cached core file with changes. You can fine them generally in /system/storage/modification/. If you installed new OCMOD file - you should clear cache to implement changes. More about OCMOD cache cleaning.

同时使用OCMOD或VQMOD-并非最佳体验,并且可能会导致冲突和错误.可以将它们一起使用,但是您必须小心和耐心.只需使用OCMOD.

Using both OCMOD or VQMOD - is not the best experience and may cause conflicts and errors. It its possible to use them together, but you will have to be careful and patient. Just use OCMOD.

有关 OCMOD安装和文件结构的更多信息.

这篇关于Opencart修改系统相关问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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