fbpx

Trick or Treat - 30% OFF - Coupon Code: SCARY20 Download Now

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Too many menus in code

Too many menus in code 1 year 5 months ago #14990

Hello! :(
I use standart Astroid menu on my site



and same menu as mobile menu



I don't use sidebar menu.
But in code I can see 3 menus.
Due to the fact that I have a lot of menu items, the page code is very big.
Explain. I have 90 menu items (parent + submenus), so Astroid generates 270 menu items in code.
So, the code of 3 menus is bigger than all other code of the page, including content.
It's not normal.
First question: how to disable 3rd menu?

Next. About mobile menu. I believe, that it's not normal to generate 2 menus on page and hide one of them via css.
If desktop and mobile menus are same - than desktop menu should transforms to mobile depending on screen size.
Check this example - www.jqueryscript.net/demo/Responsive-Mob...nu-with-jQuery-CSS3/
Page have ONLY ONE menu in code. On big screens it looks as horizontal, on small - as Off-canvas.
This is solution, how it was made, it's very simple - www.jqueryscript.net/menu/Responsive-Mob...ith-jQuery-CSS3.html
I want to notice, it is VERY IMPORTANT thing.
Last Edit: 1 year 5 months ago by lipatovroman.
The administrator has disabled public write access.

Too many menus in code 1 year 5 months ago #15013

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4153
  • Thank you received: 609
  • Karma: 108
Hello,

It's 3 menus in total.

Mega Menu (Desktop).
Mobile menu (on mobile and you can disable this).
Off-canvas menu (This is the offcanvas position on desktop and mobile and again you can disable this if you want).

Astroid isn't built (at the moment), to use the same menu structure for both mobile and desktop. We may get it in the future but not at the moment.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Too many menus in code 1 year 5 months ago #15022

Off-canvas menu (This is the offcanvas position on desktop and mobile and again you can disable this if you want).

Off-canvas disabled.



But page still contains 3 menus in code.
Astroid isn't built (at the moment), to use the same menu structure for both mobile and desktop. We may get it in the future but not at the moment.

So, how to replace your menu with 3-rd party menu module?
Last Edit: 1 year 5 months ago by lipatovroman.
The administrator has disabled public write access.

Too many menus in code 1 year 4 months ago #15064

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4153
  • Thank you received: 609
  • Karma: 108
Hello,

One of them might be sticky menu. Can you disable that too and that should get rid of the 3rd menu.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Too many menus in code 1 year 4 months ago #15067

admin wrote:
Hello,

One of them might be sticky menu. Can you disable that too and that should get rid of the 3rd menu.
Thanks,
Chetan

You generate another menu just to display it in sticky mode??? :blink: :ohmy:
It can be done using CSS in minutes.
You generate TOO MUCH extra code. Mobile users will not wait for such a large size page to load. :unsure:
Last Edit: 1 year 4 months ago by lipatovroman.
The administrator has disabled public write access.

Too many menus in code 1 year 4 months ago #15068

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4153
  • Thank you received: 609
  • Karma: 108
Yes, it's 4 menu's in total.

We are working on improving it and will have it in the next few updates.

It's not as slow as you might think on mobile.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Too many menus in code 1 year 4 months ago #15069

admin wrote:
Yes, it's 4 menu's in total.
So, when menu have 100 menu items you will generate 400?
:ohmy:
It's not as slow as you might think on mobile.
At first, you should think about slow 3G mobile users . Most of them have exact 3G mobile.
And finally about Google.
Google crawler will see all 400 links in code and will think that it's spam. Just believe me. Code should be clean and minimalistic.
Is unacceptable to generate 4 same menus, 3 same logos e.t.c.
All this things should be done using CSS.
The administrator has disabled public write access.

Too many menus in code 1 year 4 months ago #15070

  • admin
  • admin's Avatar
  • Offline
  • Administrator
  • Posts: 4153
  • Thank you received: 609
  • Karma: 108
I couldn't agree more. I think the correct way to do is using CSS & JS where we use the same HTML links in all places.

Thanks,
Chetan
Thank You,
If you like our support and products, tweet us at joomdev and let the world know about it.
The administrator has disabled public write access.

Too many menus in code 4 months 3 weeks ago #22807

  • metestaki
  • metestaki's Avatar
  • Offline
  • Senior Member
  • Posts: 43
  • Karma: 0
Hello, I also have issue with this.
Could you estimate the date for the next update?

Thank you so much!
The administrator has disabled public write access.

Too many menus in code 4 months 3 weeks ago #22847

  • dankra
  • dankra's Avatar
  • Offline
  • Junior Member
  • Posts: 20
  • Karma: 0
Has this been fixed yet? This post is over one year old? :dry:

Ok, I have used the Astroid framework for about 6 months now. As with any framework it takes time to learn and is an investment! When I see that the developer is trying to make it better and improve, I will continue using and pay for extended features. If however, it becomes stagnant then I am forced to think of the best interest of my client who now has a slow website.

I have been in technology a very long time, and when a software developer has a new focus on a better product, they will be honest and tell their user base that the END OF LIFE will be such and such (month/year.). This is a common courtesy and a way for the user to decide how to proceed. I wish there was more of that integrity in the open source communities.
Last Edit: 4 months 2 weeks ago by dankra.
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Moderators: chandandeep
Time to create page: 0.500 seconds
Cron Job Starts