Page 1 of 1
2 menus possible?
Posted: Tue Oct 13, 2020 10:00 pm
by smile
Hello, I have main menu on the masterpage linking all site section together like products, services, about.
Then each sections have it's own pages, can these be navigated using separate menu for each section it's own?
There can be only one masterpage.
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 5:11 am
by wwonderfull
smile wrote: Tue Oct 13, 2020 10:00 pm
Hello, I have main menu on the masterpage linking all site section together like products, services, about.
Then each sections have it's own pages, can these be navigated using separate menu for each section it's own?
There can be only one masterpage.
I have not seen you website so do not have the idea what would suit well. But try not to confuse users with too many menus. You can use more menus no problem but in the master page only one menu will have the authority. You can use sub menus if you want or can use a mega menu. Remember that these complex menu system changes the User interface of the website and also makes it difficult for more advanced SEO result. So, therefor you can use as many menu you like from the navigation with your own accord, it may be good or may be bad, so from me its an advice not the solution.
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 6:24 am
by Pablo
You can have multiple menus per page.
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 1:27 pm
by smile
@ wwonderfull
"I have not seen you website so do not have the idea what would suit well. But try not to confuse users with too many menus. "
It's not complicated, it's simple website from the past using main menu navigation for main categories or sections, then sub section menu for each category. Plain CSS nothing more.
https://web.archive.org/web/20040624021 ... m_lt$79353
"You can have multiple menus per page."
Yes I know I can put two but how do I make such navigation like the site I posted? I know top menu is not possible from my other thread, but how about the communication between menus. One masterpage for top menu, then how to manage/create category menus?
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 1:40 pm
by Pablo
I'm sorry there is no exact menu like this, but there are many other menus.
https://wysiwygwebbuilder.com/navigation.html
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 4:43 pm
by smile
I made something working with using one masterpage and embedpage.
However the breadcrumb works fine, but button "products" on top menu does not show active page when I click any of the secod menu links, and I cant sync it somehow?
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 4:53 pm
by Pablo
The 'active page' feature does not work on master page, because the code of as master page is the same for all pages.
Maybe you can use the tabs widget instead?
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 4:54 pm
by smile
The beradcrumb is synced to the top css menu, so that means menu knows active sections but why it is not active?
"feature does not work on master page, because the code of as master page is the same for all pages."
The feature does not work on normal pages item1 item2 item3 they are linked to master page, but so are other pages where this works fine.
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 5:01 pm
by smile
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 5:12 pm
by BaconFries
The purpose of a "Master Page" is so you are able to use the same object more than once on multiple pages. The reason why the active state does not work is because there is only one instance of the active state only and this applies / belongs to the "Master Page" itself and not the other pages used on. If you wish to have a Menu that uses the active state of the pages then you should use a "Master Frame" instead.
To give you a better understanding see the following
How to use Master Pages
https://www.wysiwygwebbuilder.com/master_page.html
How to use Embedded Pages
https://www.wysiwygwebbuilder.com/embedded_page.html
How to use Master Frames
https://www.wysiwygwebbuilder.com/master_frame.html
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 5:26 pm
by Pablo
The beradcrumb is synced to the top css menu, so that means menu knows active sections but why it is not active?
The breadcrumb menu uses CSS only, it does not know on which page it is when it's on a master page because the HTML structure is the same for all pages.
The 'active' state is applied via a class. So, if the HTML code it the same for all pages then this feature cannot be used.
Can you please enter a valid order number in your forum profile? This forum is an extra service to registered users only.
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 7:09 pm
by smile
"it does not know on which page it is when it's on a master page because the HTML structure is the same for all pages."
But the idea of master page is to use them for navigation, header, footer. How so the menu can not know active pages when it used like suppose to? All pages in my projet use same master page. So they should keep track OK.
The top menu loose track when I navigate using second menu. That seems to be the problem.
"Can you please enter a valid order number in your forum profile? This forum is an extra service to registered users only."
Sorry can't because I use trial version.
Seem counter productive if trial version users can't post and ask questions, as you have no other way to contact you, no contact form, no email. Seems not right if you ask me. Meanwhile I'm investigating is this software worth money to be spent and can I replicate my past projects etc. I'm tired of Dreamweaver crap.
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 7:20 pm
by BaconFries
Meanwhile I'm investigating is this software worth money to be spent
As a user since version 4 it is worth every penny.
and can I replicate my past projects etc. I'm tired of Dreamweaver crap.
Of course you can but you need to be prepared for a "New" learning curve and sorry (not being rude) to say forget what what you know about "Dreamweaver" and not compare.
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 7:32 pm
by crispy68
@smile,
Been a user since version 10. Best software available for web design. You won't regret the purchase.
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 7:40 pm
by Pablo
How so the menu can not know active pages when it used like suppose to?
The code is the same for all pages that use the master page, so therefor the 'activate page' concept cannot work on master pages.
Re: 2 menus possible?
Posted: Wed Oct 14, 2020 8:44 pm
by smile
I placed CSS menu on masterpage header, then made index, products pages. Products has 2 sub pages product 1, product 2.
The menu shows active pages on 1st level but not second. Is this expexed behavior?
Is there a way to have 1st level show active when 2nd level is chosen? If so how, any examples.
Thank you.
Re: 2 menus possible?
Posted: Thu Oct 15, 2020 6:08 am
by Pablo
This is excepted behavior. Using the 'active' feature will not work with master pages.
This is the first time someone asked for a menu like this, so there is currently no standard solution.
You can post suggestions in the 'Suggestions' section of the forum. if more users find it useful then I will consider it for future development.
Re: 2 menus possible?
Posted: Thu Oct 15, 2020 8:35 am
by alan_sh
It can be done. Look here
https://www.penninescouts.org.uk/resources.html
The top menu is in my master page. The menu down the side is an individual one for that page.
Re: 2 menus possible?
Posted: Thu Oct 15, 2020 9:45 am
by smile
Your top menu category is also deactivated once I click on the menu on the right side, it should always stay active when I browse the second level menu pages. This is not the case.
Also even with single menu (I tried them all) the top level category is deactivated once second level is chosen. If I have 10 sub pages for "about us" category, then this gets deactivated once I choose the sub page. This is very strange as menus always work by showing active category. If this is no desired it should be on/off by simple check box.
So this is not the problem of masterpages, but menus themselves, as author said it was not requested before. But it's strange none the less.
Take a look at this menu from year 2000,
https://milonic.com/index.php
Re: 2 menus possible?
Posted: Thu Oct 15, 2020 10:54 am
by BaconFries
To me there is a misunderstanding of what is and what isn't being referred to as a active state. In general a active state applies or indicates to the page you are on. In the example you have shown it is indicating the active state of the selected item(s) of the menu itself which have sub menus. None of the top onclick actually go to a new page they simply open the sub menu to which you select to go in the selected but still showing you have made a selection at top which is active or previously been selected. As mentioned by Pablo this has never been requested before but you can always make a suggestion to have it implemented.
Re: 2 menus possible?
Posted: Thu Oct 15, 2020 11:54 am
by smile
Thank for answer. I suppose there is no easy code hack to make this work by adding some code?
Re: 2 menus possible?
Posted: Thu Oct 15, 2020 12:21 pm
by Pablo
You can add custom code via Page HTML or the HTML object.