[nodebb-plugin-header-extend] Custom links in the site's main menu
-
Wow awesome!
-
nice
-
@Scuzz really? I'm testing it on two 0.5.x installs. Are there any errors in the log (or in the console with
./nodebb dev
)? -
I've released version 0.0.3
Yes, I skipped 0.0.2 (because I tested it after publishing accidentally, and it was faulty)
Changes:
- Removed JS hack to remove tooltip, replaced w/ CSS
- Menu width now fits the child link width (so no weird wrapping)
-
I just now released version 0.0.4
Changes:
- Simplified CSS and removed another JS hack
- Also fixed a small issue where the width wasn't actually wide enough.
-
I nave a suggestion.
When adding text next to the icon it shows up in the navbar and also in the navbar when on a mobile.
When you remove it and just have the icon, only the icon is shown on the navbar and it is also only the icon on the mobile navbar.Is it possible to have the icon only on the normal navbar and then the icon and text on mobile navbar, currently how the defaults are set up?
-
@Scuzz If you check
Show only the icon in desktop menu
, it shows only the icon in the normal navbar, but the icon and the title in the mobile menu.Does it not do the same on your site? Are you on version 0.0.4?
-
Just released version 0.0.5
Changes:
- Menus now only activate on click (to keep consistent with bootstrap)
- Menus now open with awesome animation
- Menus work correctly on mobile
-
Version 0.1.2 is released
Changes:
- Removed ugly JS hack
- Added ability for links to be set to be opened in new tab / window
-
@pitaj said:
nodebb-plugin-header-extend
Hi pitaj,
Thanks for the wonderful plugin. I don't know whether it is possible for you to adjust the default header links as well through the plugin. I think it will be a good idea that so that I can remove the hacks from my custom CSS file.
-
@yeelan0319 as it currently stands, it is not possible to do this. You could hide all of the default icons and only add ones with the plugin, I guess, but the order still isn't guaranteed. I might stay working on a pull request to add what I need into core after I'm done with the Calendar and Forms plugins.
-
@a_5mith Huh. Look at that. Although it doesn't look like it's possible to rearrange everything yet.
-
@a_5mith I don't think the new Navigation settings page lets you add custom links as menu items in the navbar. You can only add routes under the url.
For e.g., you can't add blog.example.com using these settings.