Modifying Home Page
and Site Map Files
and Site Map Files
You can define the format of home page and site map using a formatter or an .mth file.

Web site properties dialog box
Formatter
You can define the home page and site map using a descriptor or a VB script.
The descriptor must be category HTML Web Site Specific Page.
The script formatter must be of _type Homepage or SiteMap, depending on whether applied to home page or site map.
.mth file
It is possible to customize files (templates) used for generation of the Home Page and Site Map. These files are found in the MEGA_STD folder.
They contain the basic presentation structure of Home Page and Site Map. It is possible to indicate the name of the files used in the options of the environment and of each user.
To modify these files, it is necessary to copy them into the “Mega_Std” folder of the custom module tree-structure, as for all customizing of elements proposed as standard. In the same way, the new files of this type must be placed in this same folder.
To modify the setup proposed, it is recommended that the existing files be copied and their contents modified either using an HTML editor or in HTML code.
Parameters used in generation files
These parameters correspond either to values entered at configuration, or, particularly for page addresses, to values obtained on generation.
The addresses indicated are relative addresses (..//) and not absolute addresses (X:Path//filename).
COMPLETESITEMAP | Name of site map pointing to site map address |
COMPLETEHOMEPAGE | Name of home page pointing to home page address |
CONTENTBULLET1 | Contents frame title bullet |
CONTENTBULLET2 | Contents frame sub-title bullet |
CONTENTLOGO | Contents frame logo |
DESCRIBEDOBJECTLIST | Displays described objects list: objects found in objects tab |
HIGHTURL | Site parent URL |
HOMEPAGE | Home page address |
INDEXPAGELIST | Index pages list |
INDEXPAGELISTTITLE | Displays index pages (+ links to pages) and the names of associated MetaClasses |
INDEXTITLELIST | Displays index pages (+ links to pages) |
MENUBULLET1 | Menu frame title bullet |
MENUBULLET2 | Menu frame sub-title bullet |
MENULOGO | Menu frame logo |
OBJECTPAGELIST | Displays list of all objects producing a page |
SITECOMMENT | Text of site comment |
SITEMAP | Address of page containing Site Map |
SITENAME | Site name |
STYLESHEET | Style sheet used in site pages |
PAGES | Example syntax: [MEGA param=pages object=7fce816c457d008a] -> Recovers URL of object page 7fce816c457d008a |
STANDARD | [MEGA param=standard file=MyFile.png] -> Recovers URL of MyFile.png found in standard directory |
IMAGE | [MEGA param=image file=MyFile.png] - > Recovers URL of MyFile.png found in image directory |