menu

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

Controller that renders the home page.

Source:

Members

(static) DeviceLayouts

Renders the devicelayouts.isml template.

Source:
See:

(static) ErrorNotFound

Sets a 410 HTTP response code for the response and renders an error page

Source:
See:

(static) FullSite

Sets the session custom property 'device' to mobile. Renders the setlayout.isml template.

Source:
See:

(static) IncludeHeader

Remote include for the header.

Source:
See:

(static) IncludeHeaderCustomerInfo

This is designed as a remote include as it represents dynamic session information and must not be cached.

Source:
See:

(static) IncludeHeaderMenu

Renders the category navigation and the menu to use as a remote include.

Source:
See:

(static) MobileSite

Used to control device-aware display.

Source:
See:

(static) SetLayout

Renders the setlayout.isml template.

Source:
See:

(static) Show

Renders the home page.

Source:
See:

Methods

(inner) deviceLayouts()

Renders the devicelayouts.isml template.

Source:

(inner) errorNotFound()

Sets a 410 HTTP response code for the response and renders an error page (error/notfound template).

Source:

(inner) fullSite()

Sets the session custom property 'device' to mobile. Renders the setlayout.isml template.

Source:

(inner) includeHeader()

Remote include for the header. This is designed as a remote include to achieve optimal caching results for the header.

Source:

(inner) includeHeaderCustomerInfo()

Renders customer information.

This is designed as a remote include as it represents dynamic session information and must not be cached.

Source:

(inner) includeHeaderMenu()

Renders the category navigation and the menu to use as a remote include. It is cached.

Deprecated:
  • Converted into a template include.
Source:

(inner) mobileSite()

Used in the setlayout.isml and htmlhead.isml templates to control device-aware display. Sets the session custom property 'device' to mobile. Renders the changelayout.isml template. TODO As we want to have a responsive layout, do we really need the below?

Source:

(inner) setLayout()

Renders the setlayout.isml template.

Source:

(inner) show()

Renders the home page.

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.