manilaSuite.staticRendering.renderHomePage
Manila does not support Scalable Content. This is the ability to render a single content page in multiple formats or to mutiple destinations using templates and the ftpSite parameters; it is a standard feature of the underlying html suite upon which Manila is based.
This patch is one of a series to the static rendering of Manila that restores that ability. One of our clients used that ability to excellent effect in his 2 version Glasgow West End website which is maintained in Manila and rendered in 2 versions.
Manila Managing Editors can use the "ManilaFixer Plugin" to maintain additional templates and ftpSites for their websites.
Amended Script
| |
local (pta = html.getPageTableAddress ()) |
| |
local (relativePath = manilaSuite.staticRendering.getDefaultFilename ()) |
| |
local (adrPage = @pta^.adrStaticSite^.[relativePath]) |
| |
local (s = "manilaSuite.staticRendering.buildHomePage ()") |
| |
script.newScriptObject (s, adrPage) |
| |
script.compile (adrPage) //PBS 04/01/00: prevent dialog box about uncompiled script |
| |
if defined (manilaMacros) //PBS 05/31/00 |
| |
local (adrManilaSite = manilaSuite.staticRendering.getManilaSiteAddress ()) |
| |
local (currentUrl = pta^.adrStaticSite^.["#ftpSite"].url) |
| |
manilaSuite.staticRendering.updateRenderStatus (adrManilaSite, currentUrl) |
Relative to Frontier version 9.7b10
|