Hi Guys
I want to change the 3 icons at the top of the page to words , And i cant seem to find out how to get at them , would someone please help me .
Thanks
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.
- iionly@iionly
iionly - 0 likes
- Colin@colin
Colin - 0 likes
- iionly@iionly
iionly - 0 likes
You must log in to post replies.Create a plugin with the following in the init function:
This unregisters the Elgg core functions that register the topbar menu items and then you register your own versions of these funtions that you can modify to use text instead of icons.
Apart from the lines above in the init functions you also need to add the following functions used. I've modified the code originally in Elgg core to use text instead of icons. If you provide the menu item text strings in a language file in your plugin it gets more flexible, i.e. you could use different texts for different languages. In this case you would need to use elgg_echo() to fetch the strings (I've added the alternative commented out below in the functions).
Hi iionly
Im missing something here , the friends icon stays an icon and i cant see why , Will you please re look at it for me ?
Thanks
Well, with a little bit of thinking you might have found the error yourself. ;-)
I forgot to update the menu registration code from the original code to the code that uses the $text string. So, just change
into
in the my_elgg_friends_page_setup() function.