A paragraph of formatted text
A short formatted paragraph between two lists.
Life cycle: Build, example 8 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 Landing Page / Home; the editor opens it in a draft.
- Open the block palette (+ at the top left) and drag Rich text (group Basic) into the zone
main. (or Text for plain text, which keeps line breaks). - Select the block, open the Design tab and fill Content.
- Publish layout. The pages that use the layout show the block on their next view.
With templates
- Keep the text in a content item and print its rich text field, so translations and versions work as for any content:
def $intro = fetch( 'content', 'node', hash( 'node_id', 93 ) )
attribute_view_gui attribute=$intro.data_map.full_intro
undef $introWhich to choose
Text that belongs to the page composition: the block. Text that must be translated and versioned like content: a content field.
Check
- The paragraph shows with its formatting.
Related pages
- The Design tab
- 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.