简体   繁体   English

如何克隆Joomla模块?

[英]How to clone a Joomla module?

I am creating a website with Sobi2 and a sobi2 clone called Marketplace for two different types of listings. 我正在创建一个带有Sobi2和一个名为Marketplace的sobi2克隆的网站,用于两种不同类型的列表。 In the Sobi2 listing pages I am using a Sobi2 category module for displaying the categories. 在Sobi2列表页面中,我正在使用Sobi2类别模块来显示类别。 Now I need to display the market place categories in the marketplace listing pages. 现在,我需要在市场列表页面中显示市场类别。 So I am planning to clone the module. 因此,我计划克隆该模块。 Please let me know what all changes I need to make to display the cloned module in module manager. 请让我知道要在模块管理器中显示克隆的模块需要做的所有更改。 I mean which all database tabled I need to alter. 我的意思是我需要更改的所有数据库表。

Regards, Alwin 问候,阿尔文

You won't be editing the database. 您将不会编辑数据库。 You'll probably be doing a search and replace for s/Sobi2/Marketplace/g within the module code, zipping that up, and installing that as a separate module. 您可能会在模块代码中进行搜索并替换s/Sobi2/Marketplace/g ,将其压缩并安装为单独的模块。 You'll also need to change the name (mod_XXX) so it's unique. 您还需要更改名称(mod_XXX),以使其唯一。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM