Info |
---|
This page describes the concept of Modular Content which is a lower-level part of page templating in Styla Frontend. It also instructs you on how to create and update Slots and Modular Content they host. |
On this page:
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
Modular Content are pieces of content (usually one or two modules) assigned to a specific position (a slot) in a page base and can only be displayed on a limited number of pages. The use case for this kind of content is, for instance, to display a customised intro text for all subcategory pages in each category. Or to display a teaser banner for an article about hiking on one hundred hiking boots details pages but not on cycling shoes.
/diagram here/
Managing your Modular Content
...
If you need one or more slots including Modular Content in your Bases, go to your Bases Manager and simply drag and drop a Modular Content module to where you need your Modular Content displayed and select one of the slots you have defined in your Slot Manager:
...
You can drag and drop the Modular Content module on single pages created with the Editor too.
3. Creating new Modular Content
Once the slots are set up and configured in your bases, you can create more Modular Content pieces. simply click the + Create button top-left of your pages list and then select the Modular Content on the list below your page name:
...
Once you are done creating its content, click the Edit entities & Publish button top-right to assign your new content to a slot (and specific pages if needed).
You can update Modular Content any time and the changes will be automatically reflected on all pages this content is set to appear on.