Sun Java System Portal Server 7.1 Update 1 Community Guide

Chapter 13 Overview of the Community Sample Portal

This chapter contains the following:

Community Sample Desktop

After installing the Portal Server software, the welcome page at http://host:port/portal/welcome/index.jsp includes links to the three sample portals. Select the Community Sample to view the Community Sample portal anonymous desktop.

The Community Sample desktop anonymous page, by default, includes:

The Communities Home page can be viewed by logging in as test/test. To participate in the Community Sample, users must be in the CommunitySample organization. The Communities home page allows users to browse and/or search communities, view list of their communities, preview and visit interesting communities, and create communities using the community portlets. For more information on the community portlets, see Overview of Community Portlets.

By default, for each community that the user is a member of, they will have a community page that allows the user to interact with the services, leave the community, and remove the community if the user is the owner. The community visitor page allows users to preview a community and join the community.

For more information on customizing the user interface of the sample portal, see Chapter 15, Customizing the Community Sample Portal User Interface.

Content Filepath

After installation and configuration of the Community Sample PAR file, content for Community Sample portal is deployed in the following directories.

PortalServer-DataDir/portals/portal-ID/communitytemplates/

This directory contains the templates for the Community Sample and the associated properties files for the templates.

PortalServer-DataDir/portals/portal-ID/desktop/community_sample/

Provides dynamic content including JavaServerTM Pages (JSPTM), tag library for Sun JavaTM Web User Interface Components' theme (portletSetupTags.tld), properties file, and containers.

PortalServer-DataDir/portals/portal-ID/desktop/classes/CommunitySamplePortal.properties

Provides properties for the Community Sample. If you modify properties in this file, restart the server for the new values to take effect.

PortalServer-DataDir/portals/portal-ID/web-src/community

Provides static content including JavaScript, images, style sheet (css/desktop.css), and channel content.

Available Sample Templates

The Portal Server software includes:

Two Column

A two column table layout with thin channels on the left and wide channels on the right.

Left Navigation

A menu navigated content layout with menu on the left and selected content on the right.

Wiki

A WYSIWYG layout to allow users to create wiki-like content and page layout including support for wiki plugins, attachments, editing, syntax and so on.

Weblog and Wiki

A layout similar to Left Navigation with only Blog and Wiki portlets available on the page.

Custom templates can be added to the system. See Creating and Modifying a Template for more information.