Nov 20, 2012
cPanel Access Level
Root Administrator
I cloned the x WHM theme and the idea is to remove some of the left pane options which we don't use/support on our cPanel server. But when I edit for example /usr/local/cpanel/whostmgr/docroot/themes/WHMTheme2/command2 and execute a rebuild using [/usr/local/cpanel/whostmgr/docroot/themes/WHMTheme2]# ./rebuildtmpl it affects ALL WHM themes?!

Switching back to the default x theme makes no difference.
I can reset it all by executing the rebuildtmpl from the x theme directory but then the other WHM themes also gain all options again.

Basically I don't mind some of the options being there unused by me but I wanted to hide some for resellers. Perhaps there is another way? maybe I need to use the ACL option instead?


cPanel Development
Staff member
Apr 7, 2006
cPanel Access Level
Root Administrator
In 11.34, the way the left navigation menu is sourced by cPanel & WHM changed. It is now locked into sourcing files from /usr/local/cpanel/whostmgr/docroot/templates/menu.

When you run rebuildtmpl, the generated templates are placed into /usr/local/cpanel/whostmgr/docroot/templates/menu. As you surmised, that location is used for all themes.