In the SiteVision 2.6/2.7 editor there are three default portlet selectors: navigation, interactive and other.
In SiteVision 3 and later there are more selectors: picture media, integration, interactive, template, collaboration, socialmedia, other.
<?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).
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:
<?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).
Last updated: