tozi Posted January 3, 2014 Share Posted January 3, 2014 (edited) Hi all, there are some instructions on how to make a copy blocktopmenu? I can not make a copy. Edited January 20, 2014 by tozi (see edit history) Link to comment Share on other sites More sharing options...
vekia Posted January 3, 2014 Share Posted January 3, 2014 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 More sharing options...
tozi Posted January 20, 2014 Author Share Posted January 20, 2014 (edited) Thanks. Solved. Edited January 20, 2014 by tozi (see edit history) 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