The Community tab is an optional component that you typically configure to provide users with a description of the purpose of a site and to provide helpful information, for example, site policies. When it is configured, the Community tab appears between the Project and Administration tabs.
When you configure the Community tab you can use the www directory in the version control repository of the www project to build out the Community home page. The HTML content in the www directory can be built out so that the Community tab is the home page of an entire web site. For example, on open source sites, such as www.tigris.org and www.openoffice.org, the Community tab is the location for the entire community-built web site.
When you enable the Community tab it becomes the landing page for users when they enter www.domainname.com where domainname is the name of your local domain.
The Community tab consists of a set of files that are located in the version control repository of the www project, in a directory named www. These files consist of the following:
A complete listing of Community tab files is as follows:
| File Name | Description |
|---|---|
| DomainFAQ.html.html | This page is displayed when you click the Site FAQ link at the bottom of every page. CollabNet provides an example page that you can extend or replace. |
| DomainFAQ.html.ja | A localized version of the Domain FAQ (Japanese). |
| DomainFAQ.html.ko | A localized version of the Domain FAQ (Korean). |
| DomainFAQ.html.zh-cn | A localized version of the Domain FAQ (Simplified Chinese). |
| DomainFeedback.html.html | This page is displayed when you click on the Feedback link at the bottom of every page. CollabNet provides an example page that you can extend or replace. |
| DomainFeedback.html.ja | A localized version of the feedback page (Japanese). |
| DomainFeedback.html.zh-cn | A localized version of the feedback page. |
| DomainHome.html.html | The Community home page. |
| DomainHome.html.ja | A localized version of the Community home page. |
| DomainTermsOfUse.html.html | A template for your own terms of use. |
| custom_404.html.html | Default text for the 404 error page. You can edit or replace this page. |
| custom_404.html.ja | A localized 404 page. |
| robots.txt | A file that is used to exclude files or directories from being searched by web crawlers. This file is used in domain-wide searches with external crawlers. |
| CommunityNewsRightColumn.html.html | A template that you can use to lay out your Community News section on the Community home page and user start page. If this page is removed from the project, the Community News column is not displayed. |
You must activate the display of the Community tab. By default, it is hidden. The tab has a number of configurable options, including:
To add entries to the Categories list on the Community tab:
To add entries for the Site Announcements list on the Community tab:
The CollabNet environment applies filters to some HTML files but not others. HTML files that are not subject to the cross-site scripting (XSS) filter can be passed to the browser from specific areas of the application.
Pages that you check directly into the version control repository are not filtered in this manner. As a result, Community and Project home pages and content are not filtered. The assumption is that users who have the rights to commit files to the repository are going to use XSS scripting tags appropriately.
See the help on HTML coding conventions for information on HTML coding conventions for areas of the application that use an XSS filter.