Question
How do you customize your WHM Favorite's list?
Answer
The Favorites section of the WHM Home interface provides immediate access to the WHM features that you select. You can choose which features you prefer and the order in which they appear via WHM or from the command line.
- Log in to WHM.
- To the right of the Favorites section, click Edit Favorites.
Click the star icon to the right of the tools you wish to add to the favorites. A filled in star means it's selected and an unfilled in star means that it's unselected.
Note: To reorder the favorites, click and drag the tool to the desired position.
- Click Done Editing when you have finished selecting and reordering your favorites.
The information for WHM's favorites list is saved under the /var/cpanel/whm/nvdata/ directory. Specifically, in that directory, you will find a cache and yaml file for each user. To update the favorites list content or order, you would need to update the yaml file for that user. The following steps assume you are making changes to the favorites list of the root user:
- Log in to the server via SSH or WHM's Terminal as the
rootuser. Navigate to the
/var/cpanel/whm/nvdata/directory by running the following command:# cd /var/cpanel/whm/nvdata/
Locate and open the root.yaml file with your choice of text editor. It may already contain a list of favorites such as the following:
# cat /var/cpanel/whm/nvdata/root.yaml
---
favorites:
- account_information$list_accounts
- system_health$process_manager
- plugins$configserver_security_firewall
- account_functions$create_a_new_account
- dns_functions$whm_zone_manager
- server_configuration$terminal
- email$mail_queue_manager
home:hide_important_next_steps: '0'
whmcommand:navigation: '1'Next, you would need to update the favorites list section by moving or adding entries as needed. These entries are formatted as
section_name$sub_menu. So for example, if you wished to add the Backup Configuration menu from the Backup section to your list, you would usebackup$backup_configuration. The resulting file would look like this:# cat /var/cpanel/whm/nvdata/root.yaml
---
analytics: 'off'
favorites:
- account_information$list_accounts
- system_health$process_manager
- plugins$configserver_security_firewall
- account_functions$create_a_new_account
- dns_functions$whm_zone_manager
- server_configuration$terminal
- email$mail_queue_manager
- backup$backup_configuration
home:hide_important_next_steps: 0
terminal_warning_accepted: 1
whmcommand:navigation: 0- Once you are done with those changes, simply save the file. The next time you log into WHM, you should then see your favorites section on the home page updated.
Comments
0 comments
Article is closed for comments.