noesac Posted August 22, 2010 Share Posted August 22, 2010 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 nameStep 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 3Is 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 More sharing options...
eltitos Posted August 22, 2010 Share Posted August 22, 2010 Am I correct to assume that the filenames don’t need to be changed (both the .tpl or .php)? the tpl and php file name should be the same than the folder name Link to comment Share on other sites More sharing options...
jhnstcks Posted August 22, 2010 Share Posted August 22, 2010 There instances of the module name in both the php and tpl file that are case sensitive, you need to make sure that these remain case sensitive. Link to comment Share on other sites More sharing options...
noesac Posted August 25, 2010 Author Share Posted August 25, 2010 thanks guys, i'll now mark as solved Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now