Rearranging and Removing Topics and Categories
You can rearrange and remove topics and categories by editing a configuration file and then applying it to a Presence Builder installation.
To modify the list of topics and categories available in Presence Builder, do the following:
-
Log in to the server over SSH or Remote Desktop.
-
Create a configuration file by issuing the following command:
"%plesk_dir%admin\bin\php.exe" -c "%plesk_dir%admin\php.ini" -dauto_prepend_file="" "%plesk_dir%sb\utils\snapshot2wst.php" --export --file=<configuration_file>.cfg
-
Edit the resulting configuration file:
-
To remove unwanted topics or categories, comment out the corresponding entries in the file: place a semicolon (;) at the beginning of each line.
Categories are represented by lines containing text enclosed in square brackets. For example:
[Retail]
.Topics are represented in the list by lines like
<topic_code>.info = "Topic title"
. -
To change the order of topics or categories, move the corresponding lines within the file.
-
-
Save the file.
-
Apply the modified configuration file to the Presence Builder installation by issuing the following command:
"%plesk_dir%admin\bin\php.exe" -c "%plesk_dir%admin\php.ini" -dauto_prepend_file="" "%plesk_dir%sb\utils\snapshot2wst.php" --import --file=<configuration_file>.cfg
To restore the default set of topics and categories in Presence Builder:
Issue the following command:
"%plesk_dir%admin\bin\php.exe" -c "%plesk_dir%admin\php.ini" -dauto_prepend_file="" "%plesk_dir%sb\utils\snapshot2wst.php" --reset