Jump to content

[SOLVED] Copying and cloning a module - is this all I need to do?


noesac

Recommended Posts

I want to create a second Links menu / module. It seems straight forward enough but I just want to make sure that I'm not missing anything:

Step 1) Copy the files, give the module folder a new name

Step 2) Change the module display name in the .php file, via the code below:

$this->displayName = $this->l('NEW NAME HERE');



Step 3) Change the module name in the .php file, via the code below:

$this->name = 'NEW NAME HERE';



Step 4) Do a find / replace all for the new name created in Step 3


Is this all I need to do? Am I correct to assume that the filenames don't need to be changed (both the .tpl or .php)?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...