MasinoHorizontalVertical10 extension is an updated version or the substitute for HorizontalMenu extension that created by PHPMaker 10. This extension will be placed in the same Horizontal Menu type with the original HorizontalMenu extension. In other words, you cannot use both HorizontalMenu and MasinoHorizontalVertical10 extension at a time. You have to choose one of them.
With this MasinoHorizontalVertical10 extension, now you can switch your menu layout from Horizontal to Vertical (or vice versa) without having to re-generate your script files each time you want to change it. Simply adjust the related constant in the generated ewcfg10.php file. This is the main difference between mine and the original one.
If you use the HorizontalMenu extension, then each time you want to switch your menu layout from one to another, then you have to re-generate your script files using PHPMaker. With MasinoHorizontalVertical10 extension, then you don’t need to re-generate your script files using PHPMaker each time you want to switch the menu layout. Simply adjust the MS_MENU_HORIZONTAL constant in the generated configuration (ewcfg10.php) file.
If you want to switch your menu layout to Horizontal, then adjust the related constant become:
define("MS_MENU_HORIZONTAL", TRUE, TRUE);
If you want to switch your menu layout to Vertical, then adjust the related constant become:
define("MS_MENU_HORIZONTAL", FALSE, TRUE);
Updated on October 10, 2013: Linked the global and users setting for switching the horizontal and vertical easily and quickly.
Updated on November 7, 2013: Changed from Vertical became Horizontal layout as the default.
Last updated on November 19, 2013: Code adjustment that related to another extension.
Vertical Menu and changes trouble:
Hi!
I’ve modified ewcfg14.php to get Vertical menu but I can’t see the menu in the vertical position. I’ve uncomment the line define(“MS_MENU_HORIZONTAL”, FALSE, TRUE); but nothing happened.
Every time I regenerate mi app in Phpmaker my changes dissapears.
In extensions, Masino’s Header and footer I set up DefaultThemeLayout as vertical but nothing too.
What do I have to do to always have vertical menu and my changes don’t dissapear from ewcfg14.php and another php files?
Thanks.
Please note that MS_MENU_HORIZONTAL is not used anymore in v2018, so please download again the Masino Extensions today.
Replace the existing ones with that latest one you have already downloaded above, and then adjust DefaultThemeLayout from Tools -> Extensions -> MasinoHeaderFooter14 extension of your project.
Then regenerate ALL the script files again, afterwards, open the generated web application from your browser, click on Restore to Default Settings button from the theme selector.