Jump to content

How? Disable Remove Unhook or Delete "Return to Admin Area"


Recommended Posts

May you please tell me how to delete the admin bar? Maybe there is a simple hook I can add to /public/includes/hooks ?

  • WHMCS 7
  • Stock template theme

This is what it looks like:

mnmiowO.png

This is what the code looks like (press F12):

<div class="adminreturndiv" style="position:absolute;top:0px;right:0px;padding:5px;background-color:#000066;font-family:Tahoma;font-size:11px;color:#ffffff">
	Logged in as Administrator | <a href="/" style="color:#6699ff">Return to Admin Area</a>
</div>

 

Link to comment
Share on other sites

it's been a while since i've seen that, as it looks different in v7 now...

perhaps by using css on adminreturndiv in a custom.css file?

alternatively... editing the template...

https://requests.whmcs.com/topic/be-able-to-edit-logged-in-as-administrator-return-to-admin-area

or use a hook to null the appropriate variable (depending if you're admin logged in, or logged in as a client)..

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated