Plan how items look in lists
The same article looks right as a card on the home page and as a line in the sidebar.
Life cycle: Plan, example 8 of 35. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- On the Design tab of a list, Item view type offers Standard, Standard (with intro), Overlay, Card, Card (with intro), Line, Mini, List item and List item (with intro).
With templates
- Each item view is a template under
content/views/of the media design (standard,overlay,card,line,mini,listitem...); a new look per class iscontent/views/<view>/<class>.tplin your extension.
Which to choose
Choose from the existing views first; add a view in the template way only when none fits.
Check
- Every list in the plan has its item view type.
Related pages
- How a block maps to its templates
- Plan 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.