Here is the factory code for the Header page for the Customer Hub. If you would like to use this code on your page, you can hit the red “Revert” button on your page. If you do not see the “Revert” button, that means your code is up to date.

If you have customized your code and would like to compare it with the factory code below, we recommend using a text compare tool such as DiffNow.

 <nav ng-controller="accountController" class="navbar navbar-default">
	<div class="container-fluid">
		<div class="navbar-header">
			<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
				<span class="sr-only">Toggle navigation</span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
				<span class="icon-bar"></span>
			</button>
			<a class="navbar-brand" style="padding:0px;" href="/dashboard">
				<img class="companyLogo" ng-if="settings.HubLogoURL" src="{{settings.HubLogoURL}}" />
			</a>
		</div>
		<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
			<ul class="nav navbar-nav">
				<li ng-show="showKB">
					<a href="/knowledgeBase">Knowledge Base</a>
				</li>
				<li ng-show="showWiki">
					<a href="/Wiki">Wiki</a>
				</li>
				<li ng-show="showMyTickets">
					<a href="/mytickets">Tickets</a>
				</li>
			</ul>
			<ul class="nav navbar-nav navbar-right">
				<li>
					<div searchsmall></div>
				</li>
				<li ng-show="settings.Features.EnableTicketCreation && (settings.Authentication.AnonymousTicketAccess || UserInfo.isAuthenticated)">
					<a href="/createticket">Submit a Ticket</a>
				</li>
				<li class="dropdown" ng-show="UserInfo.isAuthenticated">
					<a class="dropdown-toggle" data-toggle="dropdown">{{UserInfo.displayName}} <b class="caret"></b></a>
					<ul class="dropdown-menu">
						<li><a href="profile">My Profile</a></li>
						<li><a data-ng-click="signout(user)">Sign Out</a></li>
					</ul>
				</li>
				<li ng-hide="UserInfo.isAuthenticated">
					<a href="/login/user">Log In</a>
				</li>
			</ul>
		</div>
	</div>
</nav>

Need more help with this?
Customer Support

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.