cPanel & WHM Version 94 has been released, and brings a slew of great updates. Take a look at what is included, and then upgrade today!

WHM - add ability to modify top shortcuts

a289 shared this idea 5 years ago
Open Discussion

You can modify /var/cpanel/customizations/includes/global_header.html.tt to control the shortcuts that appear at the top of cPanel, but according to support, there's no supported way to do this for the shortcuts at the top of WHM (where it has News Change Log Logout). It would be nice if there was a supported way of doing this rather than modifying /usr/local/cpanel/whostmgr/docroot/templates/menu/topframe.tmpl and reapplying your changes if it gets overwritten.


This could either be the ability to override the file or some simple interface in WHM where you can edit shortcut links that show up there and then the template file reads that data and prints out the links.

Comments (10)

photo
1

How would you view this feature being implemented specifically?


Would you want the link bar to persist on *every* page you navigated to within WHM? Should it only appear when visiting the Home/initial page of WHM?


As much detail as you can provide on how you see it implemented and utilized would further assist in potentially gaining interest/votes from other customers. It would also help us (cPanel) better understand your intended use cases.

photo
1

Thank you for the response.


To elaborate - in my mind it would work like a bookmark bar on the browser. As you use WHM you would have the option to drag or somehow add links to a fixed bar across the top. There are already two rows of information in the header, and if it was possible to collapse the current information to a single row then this would not require additional height.


In the attached you can see where I've swapped the header row ordering and merged the content to allow for a second "Bookmark" row. The second row would just be a long list of whatever links you placed there. I feel the ability to sort the bookmark order would be necessary with the option to drag or somehow remove again the bookmark.

photo
1

For anyone interested in this idea, here is an example of a bookmarklette that will open phpMyAdmin from an active WHM login.


void(open('//yourserver.com:2087/'+String(window.location).replace(/^.*(cpsess\d+).*$/,'$1')+'/3rdparty/phpMyAdmin/index.php'));

photo
1

One of the things we have considered in the past was to replace the main WHM Index page area (the tiles with icons in them) with a page that's much more useful for system administrators. Your idea of a configurable Favorites section would be something that could go on that.

photo
1

Which kinds of things would you like to put in that area?

photo
1

Links to things I use often like Create Account, List Accounts, and Change Site's IP Address. Perhaps also PhpMyAdmin

photo
1

There is discussion in https://features.cpanel.net/topic/replace-the-whm-index-page-with-the-list-accounts-page regarding how we could better use the WHM Index Page that you may want to participate in too.

photo
1

That's good too, but not as handy as being able to get to commonly-used links from anywhere without having to go back to the home page.

photo
1

The way I see this would be a “Add to favorates” link on each main page in WHM so users can easily add links to the pages they use the most.

photo
1

Yeah, I think that's a good approach as long as there's a way to rename what they're called so you can shorten the name and fit more.

photo
photo
1

It would be great to have an option in the WHM that can allow us to drag and drop the icons we would like onto the top section for easy access. They would also remain in the normal section, so duplicates basically. Also if we can even add icons used by plug ins like the app installer's actual apps, that would be great too! Also if we can choose the name of the section that would help as well.


Anything to help the user has a more simple time saving process is a big win!

Leave a Comment
 
Attach a file