Add a disclaimer banner to a site

 This article is suitable for an IT Adminstrator

Ref: 20091029
Last edited September 29th, 2011
 
In order for a disclaimer bar to be added to all pages within a site, the steps listed below must be followed.
 
1. Using Internet Explorer, navigate to the Publish page of the site where the disclaimer is to be added.
 
2. Update the frameset.html for the site. This is done as follows
     a. Locate the frameset.html file, by default located in C:\Program Files\Triaster\PublicationServer\Config Files\[Library]\[Site] (for example, C:\Program Files\Triaster\PublicationServer\Config Files\ProcessLibrary\Live)
     b. To edit the frameset.html, right-click the file within windows explorer and edit with Notepad.
     c. Replace the text within the frameset tags with the text shown below. The rows value may vary depending the layout of the site (for a more detailed explanation, please see the article How do the framesets, nav bar and menu pages work together on the web site? ).
     d. Edit this text to use the correct URL for where you are adding the disclaimer (for example, change sandpit to live).
<frameset rows="20, 44,*" border="0" framespacing="0" frameborder="0">
  <frame name="disclaimer" id="disclaimer" src="
http://localhost/processlibraries/processlibrary/sandpit/static html/disclaimer.html" scrolling="no" marginwidth="0" marginheight="0">
  <frame name="top" id="top" src="
http://localhost/processlibraries/processlibrary/sandpit/static html/nav.html" scrolling="no" marginwidth="0" marginheight="0">
  <frame name="main" id="main" src="##VIS_SAW_FILE##">
</frameset>
      
3. Delete all files within the HTML folder for this site (default location is C:\Triaster\ProcessLibraries\[Library]\[Site]\html)
 
 
4. Publish this site. This may take some time so the remaining steps can be carried out while this is processing.
 
5. Update all html files within static html folder as follows:
  • Locate each file with the extension .html within static html folder (default location is C:\Triaster\ProcessLibraries\[Library]\[Site]\static html).
  • To edit the html file, right-click the file within windows explorer and edit with Notepad.
  • Edit the text within the frameset tags according to the format shown below. The rows value may vary depending the layout of the site (for a more detailed explanation, please see the article How do the framesets, nav bar and menu pages work together on the web site? ).
No disclaimer
<frameset rows="44,*" border="0" framespacing="0" frameborder="0">
    <frame name="top" id="top" src="nav.html" scrolling="no" marginwidth="0" marginheight="0">
    <frame name="main" id="main" src="../html/revision%20history%20content.html">
</frameset>
 
Disclaimer added
<frameset rows="20, 44,*" border="0" framespacing="0" frameborder="0">
    <frame name="disclaimer" id="disclaimer" src="disclaimer.html" scrolling="no" marginwidth="0" marginheight="0">
    <frame name="top" id="top" src="nav.html" scrolling="no" marginwidth="0" marginheight="0">
    <frame name="main" id="main" src="../html/revision%20history%20content.html">
</frameset>
 
6. Update frames config.xml as follows:
  • Locate the frames config.xml, by default located in C:\Triaster\ProcessLibraries.
  • To edit the frames config.xml, right-click the file within windows explorer and edit with Notepad.
  • The line highlighted in red must be copied into relevant site and the path changed (for example for Sandpit to Live). The following example will add a disclaimer into the live site.
  • Once the changes have been made, save and close the file, then double-click the file in Windows Explorer. This should open without errors in your browser. If errors are shown, a mistake has been when entering the text and must be corrected.
Before edit (line in red to be copied)
 
<frames> 
    <stage name="processlibrary:sandpit" title="Process Library (Sandpit)" innerframewidth="224"> 
        <frame name="disclaimer" rowheight="20" path="../../ProcessLibraries/ProcessLibrary/Sandpit/static html/disclaimer.html" /> 
        <frame name="top" rowheight="44" path="../../ProcessLibraries/ProcessLibrary/Sandpit/static html/nav.html" /> 
    </stage> 
    <stage name="processlibrary:prelive" title="Process Library (Prelive)" innerframewidth="224"> 
        <frame name="disclaimer" rowheight="20" path="../../ProcessLibraries/ProcessLibrary/Prelive/static html/disclaimer.html" /> 
        <frame name="top" rowheight="44" path="../../ProcessLibraries/ProcessLibrary/Prelive/static html/nav.html" /> 
    </stage> 
    <stage name="processlibrary:live" title="Process Library (Live)" innerframewidth="224"> 
        <frame name="top" rowheight="44" path="../../ProcessLibraries/ProcessLibrary/Live/static html/nav.html" /> 
    </stage>
</frames>
 
After edit (line in blue has been pasted and edited)
 
<frames> 
    <stage name="processlibrary:sandpit" title="Process Library (Sandpit)" innerframewidth="224"> 
        <frame name="disclaimer" rowheight="20" path="../../ProcessLibraries/ProcessLibrary/Sandpit/static html/disclaimer.html" /> 
        <frame name="top" rowheight="44" path="../../ProcessLibraries/ProcessLibrary/Sandpit/static html/nav.html" /> 
    </stage> 
    <stage name="processlibrary:prelive" title="Process Library (Prelive)" innerframewidth="224"> 
        <frame name="disclaimer" rowheight="20" path="../../ProcessLibraries/ProcessLibrary/Prelive/static html/disclaimer.html" /> 
        <frame name="top" rowheight="44" path="../../ProcessLibraries/ProcessLibrary/Prelive/static html/nav.html" /> 
    </stage> 
    <stage name="processlibrary:live" title="Process Library (Live)" innerframewidth="224"> 
        <frame name="disclaimer" rowheight="20" path="../../ProcessLibraries/ProcessLibrary/Live/static html/disclaimer.html" /> 
        <frame name="top" rowheight="44" path="../../ProcessLibraries/ProcessLibrary/Live/static html/nav.html" /> 
    </stage>
</frames>

Need further help? Contact the Triaster Support team by e-mailing support@triaster.co.uk or by calling us on 0870 402 1234.

                    Do you have any feedback or suggestions that you would like to share with Triaster? We would love to hear from you! Please e-mail feedback@triaster.co.uk 
Comments