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:

  1. Log in to the server over SSH or Remote Desktop.
  2. 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

  3. 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.
  4. Save the file.
  5. 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


Leave your feedback on this topic here

If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.