The main page is a great way to showcase your content.
Your main page is the first thing users see after they have logged into the system, which means it forms the first impression of your content. The way it looks depends on certain settings, as the main page displays a set of previews of your selected collections, arranged according to a predetermined layout. Below are some tips on how to make it outstanding.
Mind that the main page can also be used for quick navigation to the most current collections as clicking on a collection preview on the main page will take you to the feed of assets to which the same filter has been applied.
When the main page has not been configured, users, upon logging-in or resuming their previous session, will see the feed of assets.
The main page is made up of different types of blocks, which in turn contain previews* of different collections. There are 3 types of blocks:
* collection preview = preview of the main collection asset
- Type 1 - is a block which represents only one collection and you cannot create more than one block of this type on your home page.
- Type 2 - blocks of this type are displayed as tiles. There can be a maximum of 6 such blocks. Technically, 1 block = 1 collection (see image below).
- Type 3 is a feed of previews, which can be scrolled left and right. Technically, this feed represents one block (see image below). Any number of blocks can be created. There is no limit to the number of collections in the feed.
Remember that users can only see those collections which they have access to.
- If you want the main page to be fully displayed to all users, including unauthorised ones, use only the collections with the Public status for the main page.
- If you set the main page for authorised users only, use the collections with the General status for your main page.
Find more information on collection types here Types of Collections.
To set up the main page, proceed as follows
- In the admin panel, go to Main_Page > Content blocks.
This page shows all the available blocks. In the example above, we can see that there are no blocks available at the moment.
After creating your workspace in the admin panel, you will see pre-configured blocks of different types. Even though they are shown as active, some steps should be taken to make the main page active. The instructions below will guide you on how to create new blocks or edit the existing ones.
- Click on the button to add a new block or click on an existing block to edit it.
- This will open the window for performing this operation.
- Fill in the fields:
Slug is a system name. It is not displayed on the main page (this name is in the UI and set through the fields Tilte_Ru and Title_Eng), but used to check if newly created blocks are unique.
Tilte_Ru - Attention! Use this field to name the blocks of Types 1 and 3. These names will be displayed in the user interface with the Russian locale. Find the information on how to name blocks of Type 2 below.
Title_Eng - Attention! Use this field to name the blocks of Types 1 and 3. These names will be displayed in the user interface with the English locale. Find the information on how to name blocks of Type 2 below.
To set the names of type 2 blocks go to Options in the admin panel and change the value of the following properties (if you cannot see these preset objects, just create them).
Query - this field is for a code in the JSON format which is used to filter collections. This code determines which collections will be shown on the main page. Read more about the Query field and ways to filter collections for the main page here: How to use the collection/asset filter to configure your workspace .
Block type - choose one of three possible types of blocks to create blocks of collections for the main page.
Active - a switch to enable or disable block display. This allows you to create more blocks in draft format, but activate and display only part of them.
Sort - a parameter which allows you to sort the order of the blocks.
Attention! This function does not set the order of collection previews inside a block, but the order of blocks of the same type. It is not necessary to set it for blocks of Type 1, as only one block of this type can be displayed on the main page.
For the blocks of Type 2, sorting affects the arrangement of collection previews, which collection will follow which in the tile grid. For blocks of Type 3 the sorting affects the arrangement of the feeds. Suppose you have created several Type 3 blocks, you can use sorting to specify which feed will go above and which will go below.
5. Upon filling in the fields, press
See below an example of how the settings for the main page are set in the admin panel
and what the main page looks like with these settings