Plugin developers using our LivePHP API can now invoke Paper Lantern user interface chrome so that their applications appear natively inside Paper Lantern, including any customizations.<\/li>\n<\/ul>\nThis week, we updated our demo server with support for a very common feature request: Custom Content. Using a system that we call “UI Includes,” you can now inject your own custom content into the templates of the user interface. Use them to customize the Quick Links or Footer. Use them to create sidebar elements. Use them to provide inline documentation and tips for your users. Use them to embed multimedia. Use them for anything.<\/p>\n
UI Includes that live in \/var\/cpanel\/customizations\/includes will be visible to all users on the system. UI Includes that live in \/home\/${reseller}\/var\/cpanel\/reseller\/includes will only be visible to reseller user accounts.<\/p>\n
Creating a file called global_header.html.tt in these directories will embed your custom content into the header area of Paper Lantern. For example, you would use this location to customize the Quick Links found on every page. Similarly, content in global_footer.html.tt will replace the footer area on every page.<\/p>\n
But it goes even further than that. To target footers on the pages inside Addon Domains only, create an addon_domains_page_footer.html.tt file. cPanel will only inject its content into headers on the pages within Addon Domains. The addon_domains portion of these file names comes from the appkey for those features.<\/p>\n
UI Includes, combined with updates made to LivePHP and the new plugin registration system, make it possible to deeply integrate with Paper Lantern. We can’t wait to see what you come up with!<\/p>\n
Update 2014-12-03: corrected the filename for the UI Include which would inject content into the footer of pages in the Addon Domain feature. The filename must end with\u00a0“page_footer.html.tt”. Thanks to OakHosting.net for reporting the problem.<\/address>\n","protected":false},"excerpt":{"rendered":"Paper Lantern made its debut in cPanel & WHM version 11.42 around February of this year. We said, at the time, that 11.42 was just the beginning. In 11.46, we’re turning our attention to the single most frequently requested feature for Paper Lantern.<\/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":[973,977,41,45,53,57],"class_list":["post-21511","post","type-post","status-publish","format-standard","hentry","category-products","tag-11-46","tag-demo","tag-paper-lantern","tag-proddevsec","tag-ui","tag-ux"],"acf":[],"yoast_head":"\n
Customizing Paper Lantern | cPanel<\/title>\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\t \n\t \n\t \n