chrisbeluga / kirby-navigation

Navigation field for getkirby.com
79 stars 12 forks source link

Relative Links and Multi Lang Menus #16

Closed marcus-at-localhost closed 3 weeks ago

marcus-at-localhost commented 3 years ago

I prepared my menu locally with a different domain and ended up with non working links after deploying.

I tried to solve it in my template something like this: $navigation->id() ?? $navigation->url() but for external links id() is an index number, so that's not working. (I guess one could test against the current host)

Is there a better way to work around that?

And how to handle multi lang menus? Building two?

chrisbeluga commented 3 years ago

This will be fixed in the next release :)

Maybach91 commented 2 years ago

@chrisbeluga Do you have any timeframe for the next release? :)

sachbearbeiter commented 3 weeks ago

This has been fixed in the v4 release.