So you’ve developed a custom style for Paper Lantern and you’re ready to deploy it to your customers. Here’s how to set all customers on the box to your new custom style.
For the sake of conversation, assume your company’s name is “Acme Hosting” and the style you developed is called “Acme_Hosting”. Before beginning, make sure to upload the styles to a folder called “Acme_Hosting” in/var/cpanel/customizations/styled.
Step 1 – Setting a default style for all users on the box
ssh [email protected] cd /var/cpanel/customizations/styled/ ln -s /var/cpanel/customizations/styled/Acme_Hosting default_style
When root specifies a default_style in this manner, cPanel & WHM will fall back to this setting when it can’t find any other preferences for resellers or users on the box.
Step 2 – Removing the ability for users to change their styles
Simply uncheck the ‘Change Style’ feature checkbox in customers’ package to prevent them from seeing the interface for picking another style.
To read more about how to manage a user’s, reseller’s or root’s Style preferences for Paper Lantern, review the “Apply a style” page of the Paper Lantern documentation.
It wasn’t specifically about this issue, but more in context of solving another style issue. Scroll to my last post in this thread. http://forums.cpanel.net/f8/webmail-navigation-bar-11-48-a-451921.html
out of curiousity, which forum thread are you referring to?
I already posted this to a forum thread, but you’ll need to revise it on the documentation as well.
Thanks for catching that. I’ve removed the extraneous slash.
This didn’t work until I removed the trailing /
ln -s /var/cpanel/customizations/styled/Acme_Hosting default_style