Skip to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[solved] Hide features in panel.

Featured Replies

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,

That's not a setting so you would have to manually edit the files in /lib/navigation/ to suite your needs

  • Author

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.

* 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') != '' ),
                               ),
                       ),
                ),
*/
  • Author

Only way to works well is remove lines !

 

Thank you for help. Theard is solved !

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.