View System Documentation - PHOM Content Management

This page discusses what is needed to maintain the online PHOM report content. There are two things to maintain for the PHOM report.

  1. Maintaining the HTML_CONTENT XML Content

    The PHOM report contains a number of static pages. These pages are used for the Welcome page, the Executive Summary, the budget type pages etc. As with other HTML_CONTENT type pages these files are contained within the xml/phom/html_content directory. See the HTML_CONTENT XML Content Management page for more information about these types of pages.

  2. Maintaining the page_selections.xml file

    The xml/phom/page_selections.xml file is a simple SELECTIONS/SELECTION structure that contains a list of pages that comprise the report. This list controls the [Prev] and [Next] page left navigation selections that are displayed. The pages will appear in the exact order as listed in the file. Listed below is a snippet of what this structure contains:
    
    <SELECTIONS>
    	<SELECTION>
    		<NAME>Introduction</NAME>
    		<LOCAL_URL>phom/Introduction.html</LOCAL_URL>
    	</SELECTION>
    	<SELECTION>
    		<NAME>ExecutiveSummary</NAME>
    		<LOCAL_URL>phom/ExecutiveSummary.html</LOCAL_URL>
    	</SELECTION>
    
    	   . . .
    
    	<SELECTION>
    		<NAME>LocalHealth</NAME>
    		<LOCAL_URL>phom/LocalHealth.html</LOCAL_URL>
    	</SELECTION>
    	<SELECTION>
    		<NAME>AgeDistPop</NAME>
    		<LOCAL_URLphom/view/AgeDistPop.Ut_US.html</LOCAL_URL>
    	</SELECTION>
    
    	   . . .
    
    	<SELECTION>
    		<NAME>ProsCADth</NAME>
    		<LOCAL_URL>phom/view/ProsCADth.UT_US.html</LOCAL_URL>
    	</SELECTION>
    </SELECTIONS>
    				
    For the previous/next list scheme and to work the SELECTIONS/SELECTION/NAME element's value must match the associated content HTML_CONTENT's XML "NAME" element. For the indicator profiles, the NAME element must match the "INDICATOR/NAME" or "INDICATOR_VIEW/INDICATOR_NAME". So to add a new indicator simply locate a similar SELECTION element and copy it, paste it where you want it to show in in the report, and edit the elements as needed. Likewise to remove a page from the report, simply delete the entire SELECTION element. When adding or removing an entry make sure that the associated Table of Contents HTML_CONTENT file is updated as needed.

    The LOCAL_URL element controls what page should be shown (e.g. there are not any smarts between the NAME and URL values). The only way for this Prev/Next mechanism to work is for all the pages to be contained within the PHOM area. It is possible to link to an outside page via the URL element but when that outside page is selected, the context/left navigation won't be there as the link will take to the user to a different site.

    NOTE: the Table of Contents page could be made to use this file but was not so that the Table of Contents page would have more control over the page's formatting.
IBIS-PH Community of Practice, Utah Department of Health, Salt Lake City, UT 84114-2101, Telephone: 801-538-9191, Fax: 801-538-9346
The information provided above is from the Utah Department of Health's Center for Health Data IBIS-PH web site (http://ibis.health.utah.gov). The information published on this website may be reproduced without permission. Please use the following citation: "Retrieved Sat, 07 November 2009 12:54:21 from Utah Department of Health, Center for Health Data, Indicator-Based Information System for Public Health Web site: http://ibis.health.utah.gov".

Content updated: Wed, 27 Feb 2008 17:59:50 MST