Skip to content

Instantly share code, notes, and snippets.

@eggsurplus
Last active November 19, 2023 17:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save eggsurplus/7343227 to your computer and use it in GitHub Desktop.
Save eggsurplus/7343227 to your computer and use it in GitHub Desktop.
SugarCRM 7 - Adding a Menu Item - profile actions
...abbreviated
<div class="dropdown-menu scroll pull-right">
<ul role="menu">
<li class="profileactions-profile"><a href="{{profileUrl}}">{{str "LBL_PROFILE"}}</a></li>
<li class="profileactions-employees"><a href="{{employeesUrl}}">{{str "LBL_EMPLOYEES"}}</a></li>
{{#if showAdmin}}
<li class="administration"><a href="#Administration">{{str "LBL_ADMIN"}}</a></li>
{{/if}}
<li class="profileactions-about"><a href="#bwc/index.php?module=Home&action=About">{{str "LNK_ABOUT"}}</a></li>
<li class="profileactions-logout"><a href="#logout/?clear=1">{{str "LBL_LOGOUT"}}</a></li>
<li class="profileactions-wiki"><a href="http://www.oursite.com/wiki">Go to the Wiki</a></li>
</ul>
</div>
.....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment