We usually add a pages section to the site view in order to show the main pages of the current install. It would be nice, if there was a way to define pages that are shown in the main navigation in the Panel’s top bar (.k-topbar-menu
) so these main site areas can be accessed from any page in the Panel. This could be an extra groud separated by lines.
This can be achieved via custom Panel areas: https://getkirby.com/docs/reference/plugins/extensions/panel-areas
I might be missing the obvious: on an install, I’ve got a page named blog
. How would I add this to the navigation via panel areas so that a click on the menu item redirects me to that page?
Add a custom Panel area (https://getkirby.com/docs/reference/plugins/extensions/panel-areas) for that menu entry and redirect to that page in the view’s callback function.
I was totally unaware that that was possible! Thanks for the clarification!