$menuNav .= '<ul class="menu nav"><li><span>' . $parentTitle . '</span>';
$menuNav .= '<ul class="menu nav"><li>';
The user menu items only show when the user is logged in and thus the login button will never be present. If you are referring to being right next to the logout button, then I recommend that you try the following:Ok thanks that helped to disapper the Menu name, the Menu Item is still moved under the login Button, is there a way to Place the Menu item called "Profil" to the right site of the Login Button? I colored the place of the Login Modul, that you can see that it should have enough place in my tempalte
$menuNav = '<div class="scuser-menu list-view">';
//$menuNav .= '<ul class="menu nav"><li class="dropdown"><span>'.$parentTitle.'</span>';
$menuNav .= '<ul class="menu nav"><li><span>' . $parentTitle . '</span>';
//$menuNav .= '<ul class="dropdown-menu">';
$menuNav .= '<ul class="flat-list">';
foreach ($menu_items as $menuItem)
$menuNav .= $this->getUserMenuItem($menuItem);
$menuNav .= '</ul>';
$menuNav .= '</li></ul>';
$menuNav .= '</div>';
$menuNav = '<div class="scuser-menu">';
foreach ($menu_items as $menuItem)
{
$url = $this->getMenuIdUrl($menuItem->id);
$target = $menuItem->browserNav == 1 ? ' target="_blank" ' : '';
$menuNav .= '<a class="btn btn-primary" href="' . $url . '"' . $target . '>' . $menuItem->title . '</a>';
}
$menuNav .= '</div>';
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.