[Solved in 21.4] - zeynepjs mobile-first navigation menu

Questions around the TYPO3 integration and plugins
Forum rules
Always add your TYPO3, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
ivanp
Posts: 37
Joined: 05 Mar 2021, 17:52

[Solved in 21.4] - zeynepjs mobile-first navigation menu

Post by ivanp » 09 Jul 2021, 09:39

I still wonder if the zeynepjs menu works as intended, or did I mess up somewhere?
I expected it to work like the menu used in nopCommerce.

Do I really have to click a main category first, and open the menu again in order to see the sub categories?
Last edited by ivanp on 21 Jul 2021, 16:04, edited 2 times in total.

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: zeynepjs mobile-first navigation menu

Post by aimeos » 11 Jul 2021, 16:34

Use these configuration options fetch up to four levels of categories upfront in 2021.x:
https://github.com/aimeos/ai-client-htm ... hp#L15-L16

If you use 2020.10, you also have to set this option:
https://aimeos.org/docs/2020.x/config/c ... lter/#deep
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

ivanp
Posts: 37
Joined: 05 Mar 2021, 17:52

Re: zeynepjs mobile-first navigation menu

Post by ivanp » 12 Jul 2021, 10:48

I already followed your suggestions starting with version 21.4.2.
What I see is that the navigation is far from smooth.

Sometimes one just makes a little mistake and misses something.
Is there a live site where I can see it working?

ivanp
Posts: 37
Joined: 05 Mar 2021, 17:52

Re: zeynepjs mobile-first navigation menu

Post by ivanp » 13 Jul 2021, 13:49

I noticed that the main problem is in having a space in the category name.
F.e.:
Label = Main categories, breaks the navigation on mobile.
Renaming: Label = Maincategories, and it works like a charm.

This behaviour is also mentioned here:
https://github.com/hsynlms/zeynepjs/issues/11
Attachments
Screenshot from 2021-07-13 16-00-21.png
Screenshot from 2021-07-13 16-00-21.png (9.75 KiB) Viewed 10831 times

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: zeynepjs mobile-first navigation menu

Post by aimeos » 15 Jul 2021, 09:27

Can you please add a screenshot to the Github issue to solve this problem faster?
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

ivanp
Posts: 37
Joined: 05 Mar 2021, 17:52

Re: zeynepjs mobile-first navigation menu

Post by ivanp » 17 Jul 2021, 09:40

Use category IDs instead of names for node IDs
Does your change fix the problem, i.e. can I try it safely in a live environment? :
https://github.com/aimeos/ai-client-htm ... 7bdc050b17

User avatar
aimeos
Administrator
Posts: 7873
Joined: 01 Jan 1970, 00:00

Re: zeynepjs mobile-first navigation menu

Post by aimeos » 17 Jul 2021, 10:57

This should circumvent the problem.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

ivanp
Posts: 37
Joined: 05 Mar 2021, 17:52

Re: zeynepjs mobile-first navigation menu

Post by ivanp » 17 Jul 2021, 11:24

It certainly does, just tried it.
Thank you!!! :))

Post Reply