wwProcess::PageHeaderTemplate

Renders a standard page header based on the default header template located in Views\_PageHeaderTemplate.html.

o.PageHeaderTemplate(lcTitle, lcTemplatePath)

Return Value

rendered HTML for the page template

Parameters

lcTitle
Optional Page Title

lcTemplatePath
Option physical path to the template to render. Defaults to Views\_PageHeaderTemplate.html

Example

Response.Write( THIS.PageHeaderTemplate("Test Page") )

TEXT TO lcHTML NOSHOW TEXTMERGE
<h1>Hello World from Test Process</h1>
<hr>
The time is: <<TIME() >>
ENDTEXT

Response.Write(lcHtml)

Response.Write( THIS.PageFooterTemplate() )

See also:

Class wwProcess

© West Wind Technologies, 1996-2022 • Updated: 09/10/16
Comment or report problem with topic