Two navbar in one page

I won’t say it is impossible to do what you want to do, just that it may not be worth the effort. What you will need to do is start again and get your two menus working on the same page and then convert it to an include from there.

Ok I’ll try Thank You

For what itt is worth, it may be easier to build everything you have in those two menus from scratch in Wappler. Nav bars are simple, just use the predefined blocks. And there is a tutorial here for the side bar navigation.

1 Like

The two files (menu1.php and menu2.php) are working and no errors are detected
21 57
I got the include files from the headers (include_menu1.php and include_menu2.php
I have a new mix.php file
If I include the include_menu1.php and I copy the head and body of the menu1.php file (extra header) the menu1 works
If I include the include_menu2.php and I copy the head and body of the menu2.php file (extra header) the menu2 works
If I include all two files include_menu1.php and include_menu2.php and insert head and body of both files (eliminating the repetitions) nothing works anymore
I hope I was clear in my explanation of the problem
I combine the screenshots of the head and body (extra header) of the two files

MENU 1

MENU 2

you speak very good italian @ben

1 Like

Did you create the includes following the tutorial? It doesn't look like it. Looks like you just copy and pasted code.

In other words, create your index page with both menus working (not as includes). Then from there create your includes using the tutorial.

1 Like