Page output · Question 5 of 12
The TypoScript object PAGEVIEW has paths.10 = EXT:site_package/Resources/Private/Templates/. Where does it look for the template of a page with the page layout Default?
1 answer is correct. Easy
Show answer
Answer
- B In the subfolder Pages/ of that path, in a file named Default, e.g. Pages/Default.fluid.html
Explanation
PAGEVIEW is the lean way to render a page with Fluid: you only specify one or more base paths. The template lives in the subfolder Pages/ and is named after the page layout (backend layout) of the page, while PAGEVIEW expects partials and layouts in the subfolders Partials/ and Layouts/. Variables such as {page}, {site}, {language} and {settings} are automatically available in the template. The Layouts/ folder is a common misconception: it contains the shared frame that templates use via <f:layout name="…"/>, not the page templates themselves.