Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New Menu Client Sidebar
#1
Rainbow 
New menu Tab In Client area Siesbar.

Screenshot
   

1. go To Your myphpadmin [Database] click tht_clientnav then at top click Incert Then input name image link ONLY leave id blank
name=the name you want the link [ie] cpanel image=your icon [ie] cpanel.png Link=your link [ie] cpanel then click go and you should see it in the tht_clientnav now...
2. make a file called [ie] cpanel.php and put this code in it
Quote:<?php
//////////////////////
// TheHostingTool
// By Jonny H
//////////////////////

class page{
public function content(){
global $db;
if($db->config('cpanel')){
$array['ALERTS'] = $db->config('cpanel');
global $style;
echo $style->replaceVar('tpl/cpanel.tpl', $array);
} #closes if
else{

}
}
}
?>
then upload to /public_html/tht/client/pages
like this: /public_html/tht/client/pages/cpanel.php
3. then create a tpl file and put what you want in it [html]
[ie] <p align="center">go To Your Cpanel link etc</p>
and upload it to /public_html/tht/includes/tpl
like this: /public_html/tht/includes/tpl/cpanel.tpl

Thats It!!
If Some One Knows A better Way Please Add It Here
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)