Jump to content

[SOLVED]copy module blocktopmenu


Recommended Posts

you have to copy menu directory and change it's name to other, for example blocktopmenu2

 

then change also filenames:

- blocktopmenu.php to blocktopmenu2.php - inside this file you have to change class name to blocktopmenu2 and also all variables stored in the database, change names of these variables both in install function and in configuration code (you have to store and "get" new variables)

 

- change menutoplinks.class.php file to menutoplinks.class2.php and inside this file change class name, change it with adding suffix 2 exactly as before for main menu class. dont forget to change class name inside blocktopmenu file.

 

 

it's not easy as it seems, you have to change all class names, filenames, variable names carefully.

Link to comment
Share on other sites

  • 3 weeks later...

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...