IT Administrators‎ > ‎Installation‎ > ‎

Installing Sitehome flash homepage

 This article is suitable for an IT Adminstrator
Ref: 201105310857
Last Edited: September 28th 2011

Introduction

A Flash-based dynamic homepage has been developed, the menu items of which are configured by an easily-editable XML file. This article describes how Triaster's own dynamic homepage is installed, but the principles also apply to other such dynamic homepages that have been custom built for clients.

Prerequisites

It's assumed that:
  • The Triaster process library has been installed.
  • The dynamic homepage files have been obtained from Triaster.

Procedure

  1. Extract the contents of ZIP file ('Triaster SiteHome.zip') to a convenient location.
     
  2. Copy the contents of the 'Static HTML' folder to the 'Static HTML' folders within the Process Library installation.
     
    Typically, these would be:
     
    C:\Triaster\ProcessLibraries\ProcessLibrary\
      Live\Static HTML\
      Prelive\Static HTML\
      Sandpit\Static HTML
     
    although there may be other library folders (in addition to, or instead of, 'ProcessLibrary'), and other site folders (in addition to 'Live', 'Prelive' and 'Sandpit').
     
  3. i) Ensure the frames within the frameset sitehome.html files are set correctly.
     
    ii) Ensure the title is set appropriately.
     
    This will need to be done for sitehome.html in each site.
     
    1. Open sitehome.html in Notepad.
       
      The frameset will be defined as follows:
       
       <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="homepageinner.html" marginwidth="0" marginheight="0" scrolling="no">
       </frameset>
       
    2. Ensure the top frame (which hosts the navigation bar) is sized correctly.
       
      This can be checked against the publication frameset file, 'frameset.html', typically found in:
       
      C:\Program Files\Triaster\PublicationServer\Config Files\ProcessLibrary\Live
       
      Open this file in Notepad, and compare its frameset.
       
    3. For the 'sitehome.html' files in 'Prelive' and 'Sandpit', add a frame to host the disclaimer.
       
      The frameset should now look like this:
       
       <frameset rows="20,44,*" border="0" framespacing="0" frameborder="0">
        <frame name="disclaimer" id="disclaimer" src="disclaimer.html" marginwidth="0" marginheight="0">
        <frame name="top" id="top" src="nav.html" scrolling="no" marginwidth="0" marginheight="0">
        <frame name="main" id="main" src="homepageinner.html" marginwidth="0" marginheight="0" scrolling="no">
       </frameset>
       
    4. Ensure the title is set appropriately, e.g.
        
      <title>Process Library (Live)</title>
        
    5. Save and close the 'sitehome.html' file.
       
  4. Set forwarding to target 'sitehome.html'.
     
  5. This will need to be done for the 'index.htm' file in each site, typically found in:
     
     C:\Triaster\ProcessLibraries\ProcessLibrary\
      Live\
      Prelive\
      Sandpit\
     
    1. Open 'index.htm' in Notepad.
       
    2. Amend this line:
       
      <meta http-equiv="refresh" content="0; URL=html/homepage.html">
       
      so that it targets 'sitehome.html' like so:
       
      <meta http-equiv="refresh" content="0; URL=static%20html/sitehome.html">
       
    3. Save and close 'index.htm'.
       
  6. Update 'Home' links in the navigation bar to target 'sitehome.html'.
     
    This will need to be done for the 'nav.html' file in each site, typically found in:
     
    C:\Triaster\ProcessLibraries\ProcessLibrary\
      Live\static html\
      Prelive\static html\
      Sandpit\static html
     
    1. Open 'nav.html' in Notepad.
       
    2. Search near the bottom of the file for this:
       
      <a href="../html/homepage.html" target="_top">Home</a>
       
    3. Amend it so that it targets the dynamic homepage:
       
      <a href="../static%20html/sitehome.html" target="_top">Home</a>
       
    4. Save and close 'nav.html'.
     
 
The dynamic homepage should now be in place. The menu items can be configured as described in this article.
"Maintaining the new flash-menu.xml file"
 

Need further help? Contact the Triaster Support team by e-mailing support@triaster.co.uk or by calling us on +44 (0)870 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