2 menus possible?

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
smile
 
 
Posts: 160
Joined: Tue Oct 13, 2020 8:22 pm
Location: EU
Contact:

2 menus possible?

Post 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.
User avatar
wwonderfull
 
 
Posts: 1603
Joined: Fri Aug 21, 2020 8:27 am
Contact:

Re: 2 menus possible?

Post 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.
User avatar
Pablo
 
Posts: 23595
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: 2 menus possible?

Post by Pablo »

You can have multiple menus per page.
smile
 
 
Posts: 160
Joined: Tue Oct 13, 2020 8:22 pm
Location: EU
Contact:

Re: 2 menus possible?

Post 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?
User avatar
Pablo
 
Posts: 23595
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: 2 menus possible?

Post by Pablo »

I'm sorry there is no exact menu like this, but there are many other menus.
https://wysiwygwebbuilder.com/navigation.html
smile
 
 
Posts: 160
Joined: Tue Oct 13, 2020 8:22 pm
Location: EU
Contact:

Re: 2 menus possible?

Post by smile »

I made something working with using one masterpage and embedpage.
Image

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?
Last edited by smile on Wed Oct 14, 2020 4:54 pm, edited 2 times in total.
User avatar
Pablo
 
Posts: 23595
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: 2 menus possible?

Post 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?
smile
 
 
Posts: 160
Joined: Tue Oct 13, 2020 8:22 pm
Location: EU
Contact:

Re: 2 menus possible?

Post 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.
smile
 
 
Posts: 160
Joined: Tue Oct 13, 2020 8:22 pm
Location: EU
Contact:

Re: 2 menus possible?

Post by smile »

User avatar
BaconFries
 
 
Posts: 5974
Joined: Thu Aug 16, 2007 7:32 pm

Re: 2 menus possible?

Post 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
User avatar
Pablo
 
Posts: 23595
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: 2 menus possible?

Post 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.
smile
 
 
Posts: 160
Joined: Tue Oct 13, 2020 8:22 pm
Location: EU
Contact:

Re: 2 menus possible?

Post 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.
Image

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.
User avatar
BaconFries
 
 
Posts: 5974
Joined: Thu Aug 16, 2007 7:32 pm

Re: 2 menus possible?

Post 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.
User avatar
crispy68
 
 
Posts: 3089
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: 2 menus possible?

Post by crispy68 »

@smile,

Been a user since version 10. Best software available for web design. You won't regret the purchase.
User avatar
Pablo
 
Posts: 23595
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: 2 menus possible?

Post 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.
smile
 
 
Posts: 160
Joined: Tue Oct 13, 2020 8:22 pm
Location: EU
Contact:

Re: 2 menus possible?

Post 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.
User avatar
Pablo
 
Posts: 23595
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: 2 menus possible?

Post 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.
alan_sh
 
 
Posts: 1894
Joined: Tue Jan 01, 2019 5:50 pm

Re: 2 menus possible?

Post 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.
smile
 
 
Posts: 160
Joined: Tue Oct 13, 2020 8:22 pm
Location: EU
Contact:

Re: 2 menus possible?

Post by smile »

alan_sh wrote: Thu Oct 15, 2020 8:35 am 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.
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
User avatar
BaconFries
 
 
Posts: 5974
Joined: Thu Aug 16, 2007 7:32 pm

Re: 2 menus possible?

Post 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.
smile
 
 
Posts: 160
Joined: Tue Oct 13, 2020 8:22 pm
Location: EU
Contact:

Re: 2 menus possible?

Post by smile »

Thank for answer. I suppose there is no easy code hack to make this work by adding some code?
User avatar
Pablo
 
Posts: 23595
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: 2 menus possible?

Post by Pablo »

You can add custom code via Page HTML or the HTML object.
Post Reply