1. remove the javascript in the that view
2. You can do the rest through CSS. Change the css on ul.topbardropdownmenu ul so that it is not hidden. Float the li elements. Probably need to adjust the width of the ul.
Thanks Cash, that worked great!!
Took me a while to figure out which bits to remove, in the end I went with this...
$menu = get_register('menu');
//var_export($menu);
if (is_array($menu) && sizeof($menu) > 0) {
$alphamenu = array();
foreach($menu as $item) {
$alphamenu[$item->name] = $item;
}
ksort($alphamenu);
?>
<ul class="topbardropdownmenu">
<?php
foreach($alphamenu as $item) {
echo "<li><a href=\"{$item->value}\">" . $item->name . "</a></li>";
}
?>
</ul>
<?php
}
Not sure if that is totally right but it worked!! Next I want to add a drop down menu beside the avatar icon with the users name and a drop down of user specific links such as 'settings, edit profile, friends, change profile image' etc any advice would be gratefully received?
Thanks again
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.