Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

cpanel_theme, what file stores this setting?

Discussion in 'User Experience' started by grepwood, Jan 23, 2015.

  1. grepwood

    grepwood Registered

    Joined:
    Jan 23, 2015
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    I'm writing a script that tweaks cPanel a little bit and my user says they'd be over the moon if it'd also change the default login and cpanel themes. The default login theme I found, it's in /var/cpanel/cpanel.config. But where is the other variable stored? I grepped my entire filesystem tree and I only found it referrenced in a few perl files. No configs. And yes I searched the forum, no result :(
     
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    45,423
    Likes Received:
    1,956
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Twitter:
    Hello :)

    You can modify the default theme for new accounts with the "CPMOD=" value in the package file within the /var/cpanel/packages directory. EX:

    Code:
    CPMOD=x3
    Thank you.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice