Jump to content

PW 3.0.84 – Core updates & installer


ryan
 Share

Recommended Posts

On 11/26/2017 at 8:38 PM, Robin S said:

I'd like to have the option to make this top-level link a "View site" link rather than an edit profile link, as per the default admin theme. It's much more common for me to want to quickly launch a front-end tab than to edit my profile.

For anyone interested, I solved this by setting the "User navigation label format" in the AdminThemeUikit module config to an empty string...

2019-02-09_112908.png.c30d6997e4b951ccb541f08a293aa301.png

...and changed the icon and link href with the following custom JS:

// Modify tools menu
var $tools_link = $('#tools-toggle');
$tools_link.find('.fa-user-circle').removeClass('fa-user-circle').addClass('fa-wrench');
$tools_link.attr('href', ProcessWire.config.urls.root).attr('target', '_blank');

 

  • Like 3
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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