Very long story short, there is no good way to add your own custom display group at this time.I was interested in placing a custom cPanel plugin in its own x3 display group. Are these display groups hard-coded, or can I add one?
Assuming this is still the case. We have found a way to do this, however the title of the custom section disappears with every cPanel update. Thus my question:Very long story short, there is no good way to add your own custom display group at this time....
+i can cause difficult to diagnose issues in the long-term (when one forgets what files were set to +i) and the cPanel update mechanism often ignores +i. I recommend creating a shell script /scripts/preupcp which backs up your dynamicui.conf and a /scripts/postupcp shell script to restore your backup. This way in the future if this causes abnormal behavior, the presence of preupcp and postupcp will remind you about the customization that was done.Assuming this is still the case. We have found a way to do this, however the title of the custom section disappears with every cPanel update. Thus my question:
Do you see any harm in doing the following?
chattr +i /usr/local/cpanel/base/frontend/x3/dynamicui.conf
cpanelnick, thanks a ton for this tip!Just drop a .conf file in /usr/local/cpanel/base/frontend/x3/dynamicui/
Add anything you like in the same format as /usr/local/cpanel/base/frontend/x3/dynamicui.conf
grouporder dictates the default location.Is there any way I can get the group to appear above the "preferences" group? I tried setting grouporder=>1 and grouporder=>0 to see if this worked, the group still shows up second though after preferences, thanks.
groupdesc=>Support,description=>grouping of support icons,file=>support_menu,group=>support_menu,grouporder=>-10,imgtype=>icon,subtype=>img,type=>image,height=>32,width=>32
|Thread starter||Similar threads||Forum||Replies||Date|
|Why isn't the sprite/CSS from custom theme used if the theme is applied for a user?||Developer Experience||3|
|Adding custom user config key for all users||Developer Experience||4|
|J||Use autossl for custom application||Developer Experience||3|
|M||Insert custom JS script in Paper Lantern||Developer Experience||1|
|T||Custom cpanel plugin icon not displayed in x3 theme||Developer Experience||11|