Second Site supports special script statements that create content during the Make Site process. Those script statements are often used in User Item text or static content properties. Script statements in those locations must be delimited by "<%" and "%>":

<% text here is treated as script %>

In addition, when accessing a script object property or function, you typically use the special operator "=" to send the result to the output page. Here's an example using the Page.PersonHREF() function.


Page Scripts

Page Scripts are special-purpose scripts that are stored in separate files. They are described on the Page Scripts help page.

On This Page