webresellers Posted May 1, 2008 Share Posted May 1, 2008 We really liked Matts new admin screen but we wanted to consolidate it a little, if you would like a copy of the hompage.tpl, PM me. If too many people want it, I will just toss it on a ftp server. I am sure alot of you can do alot better than we did here, but we have all the same default information, just consolidated a little more. Its really easy to design the admin screen anyway you see fit. 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted May 2, 2008 Share Posted May 2, 2008 Interesting... I might wanna try this out. 0 Quote Link to comment Share on other sites More sharing options...
joe123 Posted May 2, 2008 Share Posted May 2, 2008 it is a bit too wide i think , i am working on a someting where you can rearrange the tables (drag and drop/hide and show) anyway you like . here a first look at it the start http://www.hosting777.com/whmcs/ i hope i can finish in the next 5 years 0 Quote Link to comment Share on other sites More sharing options...
BAJI26 Posted May 2, 2008 Share Posted May 2, 2008 it is a bit too wide i think ,i am working on a someting where you can rearrange the tables (drag and drop/hide and show) anyway you like . here a first look at it the start http://www.hosting777.com/whmcs/ i hope i can finish in the next 5 years Now that is sweet! Wish Matt would do that in the next upgrade. 0 Quote Link to comment Share on other sites More sharing options...
generic Posted May 2, 2008 Share Posted May 2, 2008 you can design your own admin home page via the template.. 0 Quote Link to comment Share on other sites More sharing options...
webresellers Posted May 2, 2008 Author Share Posted May 2, 2008 it is a bit too wide i think ,i am working on a someting where you can rearrange the tables (drag and drop/hide and show) anyway you like . here a first look at it the start http://www.hosting777.com/whmcs/ i hope i can finish in the next 5 years Ya, it might be a little wide for some, but we are using a fairly high resolution and it fits on our screens without having to scroll right/left, so it works for us. What we really wanted was collapsable tables, but with only 10mins of free time, we couldn't get them to functions correctly. If someone wants to try to get the collapsable tables to work, here was the basic code exaple we were trying to use: <html> <head> <title> New Document </title> <script language="javascript"> function init() { var cookie = getCookie('collapse_obj'); if(cookie) { var values = cookie.split(','); for(var i = 0; i < values.length; i++) { var itm = getItem(values); if(itm) itm.style.display = 'none'; } } } function makeCookie(name, value) { var cookie = name + '=' + escape(value) + ';'; document.cookie = cookie; } function getCookie(name) { if(document.cookie == '') return false; var firstPos; var lastPos; var cookie = document.cookie; firstPos = cookie.indexOf(name); if(firstPos != -1) { firstPos += name.length + 1; lastPos = cookie.indexOf(';', firstPos); if(lastPos == -1) lastPos = cookie.length; return unescape(cookie.substring(firstPos, lastPos)); } else return false; } function getItem(id) { var itm = false; if(document.getElementById) itm = document.getElementById(id); else if(document.all) itm = document.all[id]; else if(document.layers) itm = document.layers[id]; return itm; } function toggleItem(id) { itm = getItem(id); if(!itm) return false; if(itm.style.display == 'none') itm.style.display = ''; else itm.style.display = 'none'; //////////////////// cookie = getCookie('collapse_obj'); values = new Array(); newval = new Array(); add = 1; if(cookie) { values = cookie.split(','); for(var i = 0; i < values.length; i++) { if(values == id) add = 0; else newval[newval.length] = values; } } if(add) newval[newval.length] = id; makeCookie('collapse_obj', newval.join(',')); return false; } </script> </head> <body onload="init()"> <table width="400"> <tbody> <tr><td style="background-color: #CCC"><a href="#" onclick="toggleItem('myTbody1')">Toggle 1</a></td></tr> </tbody> <tbody id="myTbody1"> <tr><td>Test row1</td></tr> <tr><td>Test row2</td></tr> <tr><td>Test row3</td></tr> <tr><td>Test row4</td></tr> <tr><td>Test row5</td></tr> </tbody> </table> <table width="400"> <tbody> <tr><td style="background-color: #CCC"><a href="#" onclick="toggleItem('myTbody2')">Toggle 2</a></td></tr> </tbody> <tbody id="myTbody2"> <tr><td>Test row1</td></tr> <tr><td>Test row2</td></tr> <tr><td>Test row3</td></tr> <tr><td>Test row4</td></tr> <tr><td>Test row5</td></tr> </tbody> </table> <table width="400"> <tbody> <tr><td style="background-color: #CCC"><a href="#" onclick="toggleItem('myTbody3')">Toggle 3</a></td></tr> </tbody> <tbody id="myTbody3"> <tr><td>Test row1</td></tr> <tr><td>Test row2</td></tr> <tr><td>Test row3</td></tr> <tr><td>Test row4</td></tr> <tr><td>Test row5</td></tr> </tbody> </table> </body> </html> 0 Quote Link to comment Share on other sites More sharing options...
uberhost Posted May 2, 2008 Share Posted May 2, 2008 What we really wanted was collapsable tables, but with only 10mins of free time, we couldn't get them to functions correctly. Yes, this is what Matt should do, or even make each section drag 'n drop like iGoogle. Though I appreciate all that has gone in to 3.6.1, I don't see the stock admin homepage as a plus. 0 Quote Link to comment Share on other sites More sharing options...
webresellers Posted May 3, 2008 Author Share Posted May 3, 2008 Default / Expanded: Collapsed / Minimized: We will offer this update to Matt, if he would like to include it, it would be his choice. If you need/want it today, PM us. 0 Quote Link to comment Share on other sites More sharing options...
webresellers Posted May 3, 2008 Author Share Posted May 3, 2008 oh ya, and our little mod uses cookies, so it will remember if you have the graphs expanded or collapsed, so you dont have to keep hitting collapse or expand link if you do or dont want to see them. 0 Quote Link to comment Share on other sites More sharing options...
pera Posted May 3, 2008 Share Posted May 3, 2008 How do I PM for the homepage.tpl :-? 0 Quote Link to comment Share on other sites More sharing options...
webresellers Posted May 4, 2008 Author Share Posted May 4, 2008 You can get a copy from: http://forum.whmcs.com/showthread.php?t=11074 0 Quote Link to comment Share on other sites More sharing options...
phenglai Posted May 5, 2008 Share Posted May 5, 2008 I sent a PM for your first template before you made it colapsable. Any chance you still have that template handy? Jerel 0 Quote Link to comment Share on other sites More sharing options...
webresellers Posted May 5, 2008 Author Share Posted May 5, 2008 I sent a PM for your first template before you made it colapsable. Any chance you still have that template handy? Jerel The wide non-collapsable version is here: http://www.webresellers.net/whmcs/dl.php?type=d&id=15 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.