The page's own content inside a layout
An article page whose layout adds blocks above and below the article itself.
Life cycle: Build, example 33 of 35. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- Open Layouts > Layouts and the layout Full / Article; the editor opens it in a draft.
- Open the block palette (+ at the top left) and drag Full view (group Placeholders) into the zone
main. Place it where the article should appear. - Add other blocks before or after it.
- Publish layout. The pages that use the layout show the block on their next view.
The Fit & Healthy article layouts use template blocks for the parts of the article (header, image, body); the Full view block is the one-block way.
With templates
- The full view itself is a template: the theme maps each class with
override.ini(for examplenode/view/full#ng_articletonode/view/full/full_ng_article.tpl).
Which to choose
Layouts decide what surrounds the content; the full view template decides how the content looks.
Check
- The article appears once, where the block is.
Related pages
- Build a campaign page, start to finish
- Build examples, every page
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.