{"id":26002,"date":"2015-02-26T13:00:00","date_gmt":"2015-02-26T19:00:00","guid":{"rendered":"http:\/\/blog.cpanel.net\/?p=26002"},"modified":"2015-02-26T13:00:00","modified_gmt":"2015-02-26T19:00:00","slug":"how-to-set-a-default-style-with-paper-lantern","status":"publish","type":"post","link":"https:\/\/devel.www.cpanel.net\/blog\/products\/how-to-set-a-default-style-with-paper-lantern\/","title":{"rendered":"How to Set a Default Style with Paper Lantern"},"content":{"rendered":"
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.<\/p>\n
\nFor 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.<\/p>\n
\nssh root@server.example.net\ncd \/var\/cpanel\/customizations\/styled\/\n\nln -s \/var\/cpanel\/customizations\/styled\/Acme_Hosting default_style\n<\/pre>\nWhen 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.<\/p>\n
Step 2 – Removing the ability for users to change their styles<\/h3>\n
Simply uncheck the ‘Change Style’ feature checkbox in customers’ package to prevent them from seeing the interface for picking another style.<\/p>\n
<\/p>\n
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.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"
So you’ve developed 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.<\/p>\n","protected":false},"author":77,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[49],"tags":[],"class_list":["post-26002","post","type-post","status-publish","format-standard","hentry","category-products"],"acf":[],"yoast_head":"\n
How to Set a Default Style with Paper Lantern | cPanel<\/title>\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\t\n\t\n\t\n