HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Keystone Theme - how do I add some additional menu items?
I am using the Keystone Theme but struggling to work out how to add external links to the top bar similar to those of the sign-in and register button.
Anyone have any idea where to add them?
The next release will have an easy way to add these without any particular theming knowledge.
Until then this requires a custom theme.
By now Keystone doesn't play well with the custom_menu: on mobile it is in the hamburger menu and in desktop view the menu is hidden. It would be great if this can be changed so that using the custom_menu, the preferred way to add menu items would be possible again.
But having something more flexible, like "exposing" the custom_menu to the dashboard would also be great. Doing this via a theme would be wasted since this would restrict such a feature to only that theme. How about making that a feature of the pockets plugin? To me that sounds like the best match: pockets are there to insert any kind of content at many flexible places, so why not also add content into the menu with pockets?
Hi all, I've noticed this problem too, I've tried to solve it with this simple html and css added using an addon:
This goes just under the closing of desktop head in html:
And this is the necessary css to let all work fine
@Lorenzo_Prn i've edited your comment to make it more readable: if you mark some lines, you can click on the paragraph symbol on the left and you get an option to mark those lines as a code block
Thank you, I didn't know that.
I would also love for Pockets to be able to accept some kind of dynamic code, Smarty at least. Then all our issues would be half gone ... :)
There's an update on this?
Hi, @Markdb. You can add additional link(s) to the top menu via Basic Pages application right now.
Suppose you need the link named Contacts at the top. Create page Contacts. Enable Show header site menu link in Concole / All Pages to add external link to the top. If you need other link then youforum/contacts, create custom route (see https://docs.vanillaforums.com/developer/routes/). Enjoy.
In our intranet we use a plugin based dynamic menu system. It's depends on removal of menu traces within the used theme and instead having the plugin place menu items through a module asset combination. It displays different menu options depending on different conditions (hence "dynamic") as well as supporting pulldown menus (with JS of course). Unfortunately it is not ready for publication but the concept should be clear from the above description. There is an old plugin called Side Panel links that adds "menu-like" links on a side panel. With little effort the plugin module could direct the output to the top instead of the side panel, thus facilitating more simplified menu system than our internal one.
I hope the menu system @charrondev mentioned will be will not be limited to keystone.