ISSUE SUMMARY: I want to add a dropdown menu item to the gear icon on the mobile view that links to the user profile
STEPS TO REPLICATE:
1. On desktop community toolbar menu there is a separate link for user profile and logout
2 On mobile community toolbar menu the logout button link is added to the dropdown under the gear icon
3 On mobile menu there is no longer a link to the user profile
4
5
RESULT
EXPECTED RESULT - I would like to add a link to the user profile on the mobile menu
BROWSER
Hi, Jonathan.
Please, copy this file: ROOT/modules/mod_community_toolbar/tmpl/default.php
to: ROOT/templates/your-template/html/mod_community_toolbar/ (if you don't have those folders - feel free to create them)
Then edit that file and you'll find drobdown menu item list starting in line 82.
Just add new <li> with your URL.
Ok. Figured that out. Thanks!
Now my site only has the community toolbar active. I no longer need the main menu/jomsocial toolbar and have unpublished all the items. However, on mobile view, the hamburger menu that would lead to the main menu or jomsocial menu is still visible. Can you tell me how remove the mobile hamburger menu from view?
Screenshot 1 - Desktop view with no main menu items
Screenshot 2 - Mobile view with hamburger menu present but no underlying menu items.
Thanks
Hi, Jonathan.
You shouldn't disable JomSocial toolbar menu items. This menu is used for component internal navigation and disabling or removing any items inside it may cause navigation issues. So enable them back. If you don't want to display any menu - just create new one, title it "Empty" and assign in template configuration under Navigation tab.
To hide toggle panel use this css code:
.no-header .toggle-no-header {
display: none !important;
}