kmm2908 Posted February 26, 2010 Share Posted February 26, 2010 Hi Looking to edit the layout in admin area for the 'view all orders' screen - can anyone tell me which template I should be looking at? Specifically I want to add a button to the bottom of that list. And then for billing and the rest of the sections? Trying to get a handle on the template system, is there a link to anywhere in docs that I've missed? For example there are not enough template files in the folder to cover all the admin views! Using v4 admin template. PS How do I change the admin template? 0 Quote Link to comment Share on other sites More sharing options...
m00 Posted February 26, 2010 Share Posted February 26, 2010 I'm affraid the templating from the admin area is hard-coded. It isn't possible to customize this. 0 Quote Link to comment Share on other sites More sharing options...
kmm2908 Posted February 26, 2010 Author Share Posted February 26, 2010 Thanks for the swift reply. But that's disappointing! Can I add buttons through the sidebar, header or footer tpl files? 0 Quote Link to comment Share on other sites More sharing options...
m00 Posted February 26, 2010 Share Posted February 26, 2010 Well, to add a button on the botom of the "orders"-scripting, you can add this to the footer.tpl as workaround: {if $SCRIPT_NAME eq '/admin/orders.php'} your button here {/if} (Edit the path if needed) A good solution? No. WHMCS should make the admin area fully customizable like the client area. 0 Quote Link to comment Share on other sites More sharing options...
kmm2908 Posted February 28, 2010 Author Share Posted February 28, 2010 Hi mOO Thanks, that coding will help me a lot. I agree with you completely and I hope they will. But in the meantime, dealing with what we have and not what we wished we had, your code snippet will be a great help. Thanks again! 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.