we_universal

Move ACP/MCP to headerbar - we_universal

Move ACP/MCP to headerbar

by addossorobapesante » Wed Jul 04, 2018 2:48 pm

Hi
How can I move ACP and MCP to the headbar?
To the left of Notifications
Image

Thanks
addossorobapesante
Registered User
Posts: 1
Joined: Wed Jul 04, 2018 2:43 pm
Contact:

Re: Move ACP/MCP to headerbar

by v12mike » Wed Jul 04, 2018 7:41 pm

In template/overall_header.html, find the line <!-- EVENT navbar_header_user_profile_append -->
and just before that, add the code:

Code: Select all

<!-- IF U_MCP -->
	<li class="small-icon rightside" data-skip-responsive="true">
		<a id="notif-disp" href="{U_MCP}"  id="notification_list_button" class="dropdown-trigger"> 
		<i class="icon fa-eraser fa-fw"aria-hidden="true"></i>
		<span>{L_MCP_SHORT} </span>
	</li>
<!-- ENDIF -->

<!-- IF U_ACP -->
	<li class="small-icon rightside" data-skip-responsive="true">
		<a id="notif-disp" href="{U_ACP}"  id="notification_list_button"  class="dropdown-trigger"> 
		<i class="icon fa-cog fa-fw"aria-hidden="true"></i>
		<span>{L_ACP_SHORT} </span>
	</li>
<!-- ENDIF -->

I just tried it, and it does not look too bad.

You should be able to work out how to remove the buttons and drop-down menu items.
v12mike
Registered User
Posts: 327
Joined: Thu Jul 09, 2015 5:03 pm
Contact: