{"id":1593,"date":"2011-03-29T12:38:21","date_gmt":"2011-03-29T16:38:21","guid":{"rendered":"http:\/\/www.jamesg.net\/?p=1593"},"modified":"2011-03-29T13:23:04","modified_gmt":"2011-03-29T17:23:04","slug":"theming-whmcs","status":"publish","type":"post","link":"https:\/\/jamesg.net\/?p=1593","title":{"rendered":"Theming WHMCS &#8211; It&#8217;s EASY!"},"content":{"rendered":"<p>After reading several people struggling to theme WHMCS, I decided that I would write a brief tutorial to attempt to emphasize how easy this is if you read the directions and think it through.\u00a0 First off, modifying the default them is *not* the easiest way to do it, you&#8217;re going to beat your head against the wall trying.\u00a0 WHMCS has setup their system very simply.\u00a0 Imagine the following php file-<\/p>\n<p>&lt;?php<br \/>\ninclude(header.tpl);<br \/>\ninclude(maincontent);<br \/>\ninclude(footer.tpl);<br \/>\n?&gt;<\/p>\n<p>This is an oversimplified version of how WHMCS works.\u00a0 So here are the steps<\/p>\n<ol>\n<li>Setup a static design that you would like to use.<\/li>\n<li>Split the file around the main content area<\/li>\n<li>Copy\/Paste everything above the main content into the header.tpl file for your skin<\/li>\n<li>Copy\/Paste everything below the main content into the footer.tpl file for your skin.<\/li>\n<li>Replace meta variables (these can be found in \/templates\/default\/header.tpl)<\/li>\n<li>Use FireBug to fix any minor issues in your css.<\/li>\n<\/ol>\n<p><a title=\"WHCMS Home Page\" href=\"http:\/\/whmcs.com\/\" target=\"_blank\">WHMCS<\/a> uses the <a title=\"Smarty Template System Homepage\" href=\"http:\/\/www.smarty.net\/\" target=\"_blank\">smarty template system<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After reading several people struggling to theme WHMCS, I decided that I would write a brief tutorial to attempt to emphasize how easy this is if you read the directions and think it through.\u00a0 First off, modifying the default them is *not* the easiest way to do it, you&#8217;re going to beat your head against [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0},"categories":[1],"tags":[],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/jamesg.net\/index.php?rest_route=\/wp\/v2\/posts\/1593"}],"collection":[{"href":"https:\/\/jamesg.net\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jamesg.net\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jamesg.net\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jamesg.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1593"}],"version-history":[{"count":9,"href":"https:\/\/jamesg.net\/index.php?rest_route=\/wp\/v2\/posts\/1593\/revisions"}],"predecessor-version":[{"id":1595,"href":"https:\/\/jamesg.net\/index.php?rest_route=\/wp\/v2\/posts\/1593\/revisions\/1595"}],"wp:attachment":[{"href":"https:\/\/jamesg.net\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1593"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jamesg.net\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1593"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jamesg.net\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1593"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}