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!

Add Custom Main Menu to Paper Lantern

PCZero shared this idea 5 years ago
In Progress

As a cPanel user and system administrator I would like my users to be able to define a list of links/features that would appear at the top of the sea of icons.

----------

CUSTOM MAIN MENU - Please add the capability for users to can set up a custom main menu. The default options of Home - File Manager - Email are not what my customers would want. Help should be in the main menu as well and not hidden at the bottom of the page.

Comments (5)

photo
1

The current set of quick Links ("Home", "File Manager", "Email", etc found in the second line of the top nav) have been removed in 11.52 in preparation for bigger layout changes to come. The UI Include point for it ("global_header.html.tt") still exists and the original set of Quick Links will appear as an example UI Include in the documentation to be published with 11.52.

photo
1

THANK YOU ADAM!

photo
1

Adam I have been playing with this feature and I have one issue. I cannot figure out the syntax to use to (for example) use the 'HOME' link in my custom header. When I simply use this line within my code...


<li><a id="lnkQuickHome" href="index.html">Home</a></li>


The link works fine while I am at the main cPanel UI, however when I go into a sub page (such as the edit password page) and click the HOME link I get an error. It looks as if the link is going to a relative path instead of being calculated to the exacted path of the home index file. What is the syntax to add in a universal custom header link for the following?


HOME

EDIT CONTACT INFORMATION

CHANGE PASSWORD


Thanks!

photo
1

You'll want to do the following...


  1. <a id="lnkQuickHome" href="[% CPANEL.CPVAR.dprefix %]index.html">

...to ensure that you're getting the URL prefix required to avoid 404s beyond the index page.

photo
photo
1

Adam thank you VERY much for sharing that information with me. I absolutely 100% appreciate the fact that your development team has taken all of my feedback and input into consideration for current and future development of the Paper lantern UI. The changes and enhancements that y'all have already made are a huge step forward for many of us and have added in (and actually improved upon) some of the functionality of the X3 theme. I know this is a huge undertaking and it takes a lot of hard work to get things through the entire production cycle. Your team has been doing some exceptional work. Thank you very much.

photo
1

Have a look at the screenshot provided in my most recent comment on https://features.cpanel.net/topic/refreshed-modern-whm-cpanel-design_2 for a preview of an upcoming Favorites menu, configurable by the end user.

Leave a Comment
 
Attach a file