Skip to main content

Creating a Page (Screen)

Creating a

page
consists of four sections:

  • Basic data
  • Categories
  • Attributes
  • Blocks
  • Forms

1. Basic Data

The "Basic data" tab contains three sections:

  • Types of pages - this is the type of the

    page
    being created. The following types are available:

    1. Common pages - a type for regular
      pages
      , such as home or about;
    2. Catalog pages - a type for
      pages
      that will contain a catalog, such as products or multimedia items;
    3. Error pages - a type for
      pages
      with errors. The error code must be linked in the Additional settings; block.
  • Details contains three input fields: "Page title" - the title of the

    page
    , "Page URL" - a unique identifier that will be used to call the
    page
    later, and "Name of the menu item for the page" - this is the name of the
    page
    that will be displayed in the "Menu". The "Menu" block is described in the following chapters

  • Editor - this block allows you to add the actual content for the

    page
    . You have the option to use two types of editors: text and markdown.
    By default, the text editor is selected; to use markdown formatting, select:
    Markdown
    Or to switch to plain text mode without formatting, select: Plain Text
    The editor also has the option to optimize uploaded images, which is enabled by default. There is also a checkbox for this:
    Optimize images

    Documentation for the text editor is described here. For markdown - here.

2. Categories

The "Categories" tab is necessary for creating a tree structure of the application and establishing parent-child relationships between

pages
.
For example, for the
page
demo, the following nesting was created: "catalog" -> "shop" -> "demo"

Categories

You can also see the nesting on the main screen of the "Pages" module, where a list of all created

pages
is presented. In this list, you can also manage the nesting by dragging
pages
in the table.

3. Attributes

The "Attributes" tab contains two dropdown lists for selecting a Template and a Set of Attributes "Attributes" is a fundamental concept of Platform OneEntry, which is described in detail in the following chapters.

Attributes

After selecting a set of attributes, you need to fill in the values. In our case, these are:

  • The attribute "title," which has the type "Text with Header." We will specify "Some example title" as the value; there is also a field for text that will be displayed in case of an error, and we will specify "example error message" for this attribute;
  • A field for uploading an image (img). We will upload the OneEntry logo here. We also have the option to optimize the uploaded image by clicking on "Optimize uploaded images" and change the image parameters directly in Platform OneEntry;
  • A field for integer values "something_integer." We will add a value equal to "2024."

4. Blocks

The "Blocks" tab contains a dropdown list for selecting blocks and a list of selected blocks. Blocks can be moved (sorted) just like

pages
. There is also an action column for each block:

SettingsConfigure

Delete Delete

Attributes

For a catalog page, you can attach any set of blocks as a template for new products. To do this, in the selection "Product blocks that are attached to all child products," you need to select the created blocks. Now a new product on this page will be created with the specified set of blocks:

We will discuss blocks in detail in the following chapters

5. Forms

The "Forms" tab contains a dropdown list for selecting forms and a list of selected forms. Forms can be moved (sorted) just like

pages
. There is also an action column for each form:

EditEdit

Delete Delete

Attributes

We will discuss forms in detail in the following chapters