|
|
 |
 |
 |
manilaSuite.staticRendering.getSuffix
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 manitained 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 ()) |
| |
if defined (pta^.fileExtension) |
| |
«if defined (pta^.adrStaticSite^.["#prefs"].defaultFilename) |
| |
local (default = config.manila.prefs.staticRenderingDefaultFilename) |
| |
if defined (pta^.adrStaticSite^.["#prefs"].defaultFilename) //added 00/12/31, 17:16:00 by DAB |
| |
default = pta^.adrStaticSite^.["#prefs"].defaultFilename |
| |
local (ctFields = string.countFields (default, '.')) |
| |
suffix = "." + string.nthField (default, '.', ctFields) |
| |
pta^.fileExtension = suffix |
Relative to Frontier version 9.7b10
|