Changes: Added a CSS extension, to allow the link colours to be configured.
Notes:
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by Raül Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
is it working on 1.7.1???
This is a very simple plugin and version 1.2 was tested with the default theme and Elgg 1.7, so I would expect it to work with 1.7.1.
Great plugin! Very simple and does exactly what it's supposed to do. Also, I'm using 1.7.1 and it's functioning fine.
Would it be difficult to move the link, however, either to the right of messages icon or at the very end of the menu bar? (Or even, ideally, between Settings and Administration?)
If not... it's still a great plugin. Thanks!
@hornakapopolis this plugin makes use of a pre-existing hook in the navigation bar, which sets the placement of the link. So it isn't possible to move it, at least not with this plugin and the way it works.
Thanks also for checking it with 1.7.1.
Thanks for the reply and, once again, the plugin
I've been chatting with @hornakapopolis on the back channel and I thought it might be worth explaining a little further that this plugin works by using an existing hook in the elgg_topbar.php file found under /views/default/page_elements and the lines:
The placement of the link is defined by this default view, not my plugin. If you want to modify the location of the link you need to either create an additional plugin or extend my plugin so that it overrides this default view file as well.
Hope that helps!
Hi,
It's a great plugin, but I want to add another link.
Sorry if this is a completely n00bish question, but how do I create a second plugin from this one to add a second link?
Thanks
@Luke see my earlier comment about how this plugin works. You can't create a second plugin to add a second link as the second plugin will simply override the first, so you will need to modify my plugin to do that (won't be hard if you understand PHP). However, you might want to simply consider modifying the top bar with your own plugin. If you are new to Elgg, then my plugin is probably a good way to start learning about creating your own mods.
I was curious about this great feature. Could it be a drop-down box with multiple links like the tools button? Thanks
@columbusohmm drop-down box with multiple links like the tools button can be easily coded into your current themes header.php or headercontents.php without using any additional plugins
HaPPy ElGGInG :)
Do GooD :)
Thanks @jaxcatz - I agree. This is designed to be a really simple plugin if you don't want to code anything and just need an extra link on the toolbar. For anything more sophisticated, you may as well just create your own customisation.
I have updated my site by adding new features. Now the topbar isn't fully functioning. http://allinoneportal.com
FYI
This plugin will be obsolete with Elgg v1.8, as you will be able to add custom menu items through the administration console. The plugin itself will no longer function.
Very good your plugin. Only I could not change the colors but that's okay. Congratulations!