Creating repository home page announcements

Repository administrators can create custom announcements for the Rational® Asset Manager home page.

Before you begin

You must be a repository administrator to update the announcements section of the Rational Asset Manager home page.

Procedure

To create an announcement for the home page:

  1. Log in to the Rational Asset Manager web client.
  2. Open Administration .
  3. From the Repository Administration sidebar, click Tools.
  4. In the Manage Theme section, click Download Current Theme, and save the theme to your local system.
  5. Decompress the archive.
  6. In the /theme/custom directory, open the homeContent.jspf file.
  7. Locate the following code snippet:
    <div id="announcements" class="ram-section announcement">
    	<div class="top-section">
    		<div class="header">
    			<div style="display: block;"class="header-text-no-icon"> <fmt:message key="announcements" />
    			</div>
    		</div>
    	</div>
    		<div class="middle-section">
    			<div class="content-wrapper">
    				<div class="content"><fmt:message key="no_announcements_message" />
          	<hx:jspPanel id="adminAnnouncements"rendered="#{pc_Home.admin"> 
    				<p> <fmt:message key="admin_announcements_message" /> 
    				<a href="${applicationScope.docPath}/index.jsp?topic=/com.ibm.ram.web.doc/topics/t_create_announcements.html" target="_blank"><fmt:message key="admin_announcements_more" />
    				</a>						  
    				</p>
    				</hx:jspPanel> 
    			</div>
     		</div>
     	</div>
    		<div class="bottom-section">
    		<div class="bottom-right"></div>
    	</div>
    </div>
  8. Replace the contents of the <div class="content"></div> with custom announcements.

    An example announcement resembles the following.

    <div class="content-wrapper">
    		<div class="content"> 
    		<p>The repository will be unavailable from 8:00am - 10:00am on August 12th for scheduled maintenance. -05/08/2008 </p> 
    		<p><A new community for open source development has been added.  
    			<a href="">Check it out!</a> -07/30/2008
        </p>
    	</div>
    </div>
    Note: If you want to create announcements that only administrators can see, create the custom announcements in <hx:jspPanel id="adminAnnoncements" rendered="#{pc_Home.admin)".
  9. Save the file and create an compressed archive of the theme. The compressed archive must contain the theme/custom/ directory structure.
  10. Upload the new theme.
    1. From the home page, log in as a repository administrator.
    2. Open Administration..
    3. Click Tools.
    4. In the Manage Theme section, browse to the theme archive file and upload it. After you upload the new theme, the announcements will be displayed on the home page.

Feedback