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:

    /usr/local/psa/bin/sw-engine-pleskrun /usr/local/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:

    /usr/local/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/snapshot2wst.php --import --file=<configuration_file>.cfg

To restore the default set of topics and categories in Presence Builder:

/usr/local/psa/bin/sw-engine-pleskrun /usr/local/sb/utils/snapshot2wst.php --reset