b3y Posted July 1, 2014 Share Posted July 1, 2014 hey, first of all im very gratefull for your job. Panel is beautifully, clearly and easy for users. I want to use only from mysql database soo i want to hide options in panel like Extras, FTP, Trafic and Domains. Is that possible to hide it ? I would be very gratefull. Cheers, Link to comment Share on other sites More sharing options...
d00p Posted July 1, 2014 Share Posted July 1, 2014 That's not a setting so you would have to manually edit the files in /lib/navigation/ to suite your needs Link to comment Share on other sites More sharing options...
b3y Posted July 1, 2014 Author Share Posted July 1, 2014 it's not that easy as i thought. When i put "*" before all function and refresh page with froxlor i got blank page (white). When i uncommnet i back to normal view. For example i want to hide "ftp" feature soo i did like below: 'mysql' => array ( 'url' => 'customer_mysql.php', 'label' => $lng['menue']['mysql']['mysql'], 'elements' => array ( array ( 'url' => 'customer_mysql.php?page=mysqls', 'label' => $lng['menue']['mysql']['databases'], 'required_resources' => 'mysqls', ), array ( 'url' => Settings::Get('panel.phpmyadmin_url'), 'new_window' => true, 'label' => $lng['menue']['mysql']['phpmyadmin'], 'required_resources' => 'mysqls_used', 'show_element' => ( Settings::Get('panel.phpmyadmin_url') != '' ), ), ), ), 'domains' => array ( 'url' => 'customer_domains.php', 'label' => $lng['menue']['domains']['domains'], 'elements' => array ( array ( 'url' => 'customer_domains.php?page=domains', 'label' => $lng['menue']['domains']['settings'], ), ), ), *'ftp' => array ( * 'url' => 'customer_ftp.php', * 'label' => $lng['menue']['ftp']['ftp'], * 'elements' => array ( * array ( * 'url' => 'customer_ftp.php?page=accounts', * 'label' => $lng['menue']['ftp']['accounts'], * ), * array ( * 'url' => Settings::Get('panel.webftp_url'), * 'new_window' => true, * 'label' => $lng['menue']['ftp']['webftp'], * 'show_element' => ( Settings::Get('panel.webftp_url') != '' ), * ), * ), *), And im still wondering what did i wrong. Link to comment Share on other sites More sharing options...
d00p Posted July 1, 2014 Share Posted July 1, 2014 * is not a valid single-line-comment character, try: 'mysql' => array ( 'url' => 'customer_mysql.php', 'label' => $lng['menue']['mysql']['mysql'], 'elements' => array ( array ( 'url' => 'customer_mysql.php?page=mysqls', 'label' => $lng['menue']['mysql']['databases'], 'required_resources' => 'mysqls', ), array ( 'url' => Settings::Get('panel.phpmyadmin_url'), 'new_window' => true, 'label' => $lng['menue']['mysql']['phpmyadmin'], 'required_resources' => 'mysqls_used', 'show_element' => ( Settings::Get('panel.phpmyadmin_url') != '' ), ), ), ), 'domains' => array ( 'url' => 'customer_domains.php', 'label' => $lng['menue']['domains']['domains'], 'elements' => array ( array ( 'url' => 'customer_domains.php?page=domains', 'label' => $lng['menue']['domains']['settings'], ), ), ), /* 'ftp' => array ( 'url' => 'customer_ftp.php', 'label' => $lng['menue']['ftp']['ftp'], 'elements' => array ( array ( 'url' => 'customer_ftp.php?page=accounts', 'label' => $lng['menue']['ftp']['accounts'], ), array ( 'url' => Settings::Get('panel.webftp_url'), 'new_window' => true, 'label' => $lng['menue']['ftp']['webftp'], 'show_element' => ( Settings::Get('panel.webftp_url') != '' ), ), ), ), */ Link to comment Share on other sites More sharing options...
b3y Posted July 2, 2014 Author Share Posted July 2, 2014 Only way to works well is remove lines ! Thank you for help. Theard is solved ! Link to comment Share on other sites More sharing options...
Question
b3y
hey,
first of all im very gratefull for your job. Panel is beautifully, clearly and easy for users. I want to use only from mysql database soo i want to hide options in panel like Extras, FTP, Trafic and Domains. Is that possible to hide it ?
I would be very gratefull.
Cheers,
Link to comment
Share on other sites
4 answers to this question
Recommended Posts
Archived
This topic is now archived and is closed to further replies.