How To Clone A Module?

Hello everyone,

I was wondering how do you clone a module? For example, I want to clone a module from Boonex's News or Articles module. Because we already have the News and Articles module and now we want another module with the same function like those two, different name of course.

Do I just have to rename everything? For example, renaming 'news' in every files and folder to 'reviews'?

Thank you.

Quote · 26 Jan 2013

There are probably database tables that you will need to clone as well.

Geeks, making the world a better place
Quote · 26 Jan 2013

Two useful tools here....

Bulk Rename Utility: http://www.bulkrenameutility.co.uk/Main_Intro.php

and...

Notepad++ : http://notepad-plus-plus.org/download/v6.2.3.html

 

 

Example, assuming you are changing News to Stories...

Download the module folder...

 

Start with bulk rename utility.

 

Specify your folder.

Using the case sensitive option...

rename NEWS => STORIES

rename News => Stories

rename news => stories

 

Then move on to Notepad ++....

Click Search>find in files

Specify your folder.

Again, use the case sensative option...

replace NEWS => STORIES

replace News => Stories

replace news => stories

 

Upload the folder, go to your admin back end, check the list, it's there, install it, done!

Quote · 26 Jan 2013

@MyAllDesigns: I did it. Thank you so much for your helpful instructions :D

Never thought it would be that simple. I spent lots of money on modules without knowing that you can actually clone one.

Quote · 26 Jan 2013

Just a note. You may need to add an entry to .htaccess, I've never cloned news before but I suspect you'll find a rewrite rule for it, clone that line too.

Quote · 26 Jan 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.