Help SiteVision 4

Portlet selectors

In the SiteVision 2.6/2.7 editor there are three default portlet selectors: navigation, interactive and other.

Default portlet selectors in SiteVision

In SiteVision 3 and later there are more selectors: picture media, integration, interactive, template, collaboration, socialmedia, other.

Default portlet selectors in SiteVision
You specify where your portlet should be located in your portlet's configuration file (i.e. portlet.xml). If your portlet should be located in the Navigation selector, you set the keywords element to navigation:

<?xml version="1.0" encoding="ISO-8859-1"?>
<portlet-app xmlns:sv="http://www.sitevision.se/svportlet"
   xmlns="http://java.sun.com/xml/ns/portlet" version="1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/portlet.xsd">

  <portlet>
    ...
    <portlet-info>
      <title>My portlet</title>
      <keywords>navigation</keywords>
    </portlet-info>
    ...
  </portlet>
</portlet-app>

If your portlet should be located in the Other selector, you set the keywords element to other:

    <portlet-info>
      <title>My portlet</title>
      <keywords>other</keywords>
    </portlet-info>

If you don't specify a portlet selector at all, you portlet will end up in the last used selector (typically other).

Custom portlet selectors

You can also create a new portlet selector and put your portlet/-s there. If your portlet should be located in a selector named My category, you define such a category in the portlet-app element and use it in the keywords element of the portlet:

Example of a custom portlet selector

<?xml version="1.0" encoding="ISO-8859-1"?>
<portlet-app xmlns:sv="http://www.sitevision.se/svportlet"
   xmlns="http://java.sun.com/xml/ns/portlet" version="1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:noNamespaceSchemaLocation="http://java.sun.com/xml/portlet.xsd">

  <portlet>
    ...
    <portlet-info>
      <title>My portlet</title>
      <keywords>mycategory</keywords>
    </portlet-info>
    ...
  </portlet>

   <sv:category>
      <sv:title>My category</sv:title>
      <sv:keywords>mycategory</sv:keywords>
   </sv:category>

</portlet-app>

Note! For a "regular" user the width of the top applet (including the default portlet selectors) are about 820 pixels. Each new portlet selector will occupy about 180 pixels. The downside with added selectors is that they might be "unreachable" for some users if they have too small monitors (i.e. too low resolution).

The page published:

Find us!

SiteVision AB (Headquarter)
Vasagatan 10
702 10 Orebro
Sweden


Info: +46 19-17 30 30
Support: +46 19-17 30 39