The community sample files allow you to set up and configure a community. The following sections list the locations of the community sample files:
The community templates are located in /var/opt/SUNWappserver/domains/domain1/applications/j2ee-modules/portal/communitytemplates. The following list shows the template directories and property file names for the community sample:
2column/ — Directory location for the two-column template contents.
2column.properties — Properties file for the two–column template.
menucontainer/ — Directory location for the left-side navigation template contents.
menucontainer.properties — Properties file for the left-side navigation template.
wiki/ — Directory location for the wiki template contents.
wiki.properties — Properties file for the wiki template.
Dynamic Content files are located in /var/opt/SUNWportal/portals/portal1/desktop/community_sample/.
tld/portletSetupTags.tld — Provides single tag to include Lockhart theme support for stylesheet and JavaScript functionality.
message.properties — Provides properties used in error/*.template files.
openURLInParent.js — Provides JavaScript to allow for detached portlets.
singlePreferenceMenubar.jsp — Provides menu bar used by JSPDynamicSingleContainer.
singlePreferenceHeader.jsp — Provides header used by JSPDynamicSingleContainer.
header.jsp — Provides header used by all other containers.
footer.html — Provides footer used by all containers.
error — Provides error templates.
datetime.jsp — Provides for date/time in header.
breadcrumb.jsp — Provides for breadcrumb trails in headers.
SearchProvider — Provides for Community look and feel changes.
portletEdit.jsp — Wraps portlet and Provider content in edit page.
PagePreferencesContainer — Provides for changing Container content and layout preferences
Login — Provides for login and account creation.
JSPTableContainerProvider — Provides for portlets in row/column layout.
JSPMenuContainerProvider — Provides for left-side navigation layout.
JSPEditContainer — Provides for portlet and Provider preference editing.
JSPDynamicSingleContainer — Used by Discussions.
DiscussionProvider — Provides for Community look and feel changes.
CommunityParentContainer — Instance of JSPDynamicSingleContainer for Community Sample .
AccountPreferencesContainer — Provides for changing user preferences
The CommunitySamplePortal.properties file contains the properties settings for the community sample. This file is located in /var/opt/SUNWportal/portals/portal1/desktop/classes/CommunitySamplePortal.properties. Note: changing properties requires a server restart.
If you change the community sample properties requires you to restart the server.
The static content for the community sample is located in /var/opt/SUNWappserver/domains/domain1/applications/j2ee-modules/portal/community/.
js/ — JavaScript used, including drop-down menu.
images/desktop/*.gif — non Lockhart images.
css/desktop.css — non Lockhart stylesheet.
content/
Documentation/index.html — HTML scrapped for Documentation channel.
Introduction/index.html — HTML scrapped for Introduction channel.
Help/*.html — Community Sample help files.
Help/graphics/*.gif — Community Sample help file.