您可以自訂當您登入 Rational ClearQuest Web 時的首頁內容。
開始之前
這個主題的路徑名稱使用下列變數:
- RATIONAL_COMMON
- Rational 共用檔的安裝目錄
- yourHomePage.html
- 您的自訂 HTML 首頁
執行這項作業的原因和時機
若要自訂首頁,請執行下列步驟:
- 在 Rational ClearQuest Web 應用程式橫幅中,按一下。
- 在「網站配置」對話框的應用程式選項標籤上,於首頁欄位中鍵入自訂 HTML 首頁的網址。請使用下列格式:
- 在 Windows 上:
drive:%RATIONAL_COMMON%\CM\profiles\cmprofile\installedApps\hostNameCMProfileNode01Cell\RationalClearQuestWeb.ear\CQWebModule.war\yourHomePage.html
- 在 UNIX 系統和 Linux 上:
$RATIONAL_COMMON/CM/profiles/cmprofile/installedApps/hostNameCMProfileNode01Cell/RationalClearQuestWeb.ear/CQWebModule.war/yourHomePage.html
- 在 Windows、UNIX 系統及 Linux 中:
- 或是將您的自訂首頁指定為相對網址。範例如下:
/yourHomePage.html
/yourCompanyFolder/yourHomePage.html
/yourCompanyFolder/aSubfolder/yourHomePage.html
小心: 在自訂的首頁中,必須指定影像或 HTML 檔相對於虛擬資料夾
cqweb 的所有鏈結。例如:
<img src=/cqweb/yourCompanyFolder/yourCompanyLogo.jpeg>
<a href=/cqweb/anotherPage.html>
<a href=/cqweb/yourCompanyFolder/anotherPage.html>
結果
變更之後,首頁就會顯示您自訂的內容。您不需要重新啟動伺服器或 Web 應用程式。