@scottalanmiller How unfortunate!
In a nutshell, perhaps something like this?
would be great!
@Scuzz really? I'm testing it on two 0.5.x installs. Are there any errors in the log (or in the console with
@pitaj My bad, it may have been a caching issue. It seems to be working now.
I've released version 0.0.3
Yes, I skipped 0.0.2 (because I tested it after publishing accidentally, and it was faulty)
I just now released version 0.0.4
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
@pitaj That's what that does. It kinda makes sense now. When i first looked i did not understand what it was for. Thanks for the explanation!
Version 0.1.2 is released
@pitaj Thank you! You really stay on top of it! Looking forward to the Forms plugin
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.
Isn't this now included in master?
@a_5mith Huh. Look at that. Although it doesn't look like it's possible to rearrange everything yet.
@pichalite Uh I just tried and I can add
https://youtube.com as the route and it will create a link to youtube.
You can rearrange them, there's another bit on the same page. I removed recent from my site and replaced it with a custom link for categories and put it in its place.
@pitaj I am not sure whether you intend to incorporate the functionality for adjusting the original navigation item or not. I made some change to your plugin and send you the pull-request
The basic idea behind the change is that I remove the original render logic from menu.tpl and all the navigation is actually rendering through the plugin right now. I remained the admin render logic since it request extra checking logic, which I am not sure how to get via plugin yet. So if the user activate the plugin, it won't render any navigation item before user set it up. In case user do want to revise from the default setting, I provided an extra button within the plugin page called "reset to default", so it will reset the navigation items to the original menu.tpl one.
See if you like it.