menu

SiteGenesis / Server-side JS / Module: controllers/Page

Controller for rendering a content page or a content include.

Source:

Members

(static) Include

Source:
See:

(static) Show

Source:
See:

Methods

(inner) include()

Renders a content asset in order to include it into other pages via remote include. If there is no content ID in the httpParameterMap, it logs a warning.

Source:

(inner) show()

Renders a content page based on the rendering template configured for the page or a default rendering template.

It uses the content ID in the httpParameterMap to find the content asset, updates the page metadata, and renders it using the content/content/contentpage template. If there is no content ID, it logs a warning and sets the response status to 410.

Source:

X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used. By continuing to use this site you are giving us your consent to do this. Privacy Policy.