2
Hi
MainMenu lists the modules - when you install module, the buttons are added. If you want to have your own button, you may edit the main menu template or use a menu module (iMenu or MultiMenu).
for iMenu go here:
http://dev.xoops.org/modules/xfmod/project/?formulizeMultimenu:
https://xoops.org/modules/repository/singlefile.php?cid=62&lid=1423To edit the main menu template, you need first to clone the default template set in admin -> system admin -> templates and an iction hit clone, enter new name and hit submit. Then you need to tell hops to use the new template set: go to admin -> system admin -> Preferences -> general settings and hit edit, find the "Default template set" option and from drop down menu selet new template, scroll down and hit "Go!"
Now you can edit the code : go in admin -> system admin -> templates and for the new template, next to system click "list", find the row "system_block_mainmenu.html" and click edit, make the changes and submit.
Or you can edit the template file in /modules/system/templates/blocks/system_block_mainmenu.html and then update the system module in admin -> system admin -> modules. also you need to delete all files except index.html in templates_c folder. Keep a backup of system_block_mainmenu.html file in case there are problem with your changes ...
![](https://xoops.org/uploads/smil3dbd4d6422f04.gif)
Learn more about templates here:
https://xoops.org/modules/smartfaq/category.php?categoryid=17And here is another answer for this question ...
https://xoops.org/modules/smartfaq/faq.php?faqid=536