Introduction
The menu is a key element of the structure and navigation of your website. With the menu, you provide visitors with a convenient way to navigate through different sections of your application and find the information they need.
In the OneEntry Platform, you can create the menu structure directly from your personal account. This allows you to change the set of pages included in the menu, their order, and titles without modifying the source code of your application.
Additionally, if necessary, you can create nested levels in the menu, allowing for a tree-like structure with sections and subsections.
All of this enables you to work conveniently and flexibly with the navigation of your application directly from your personal account.
At the core of the menu are the pages. The menu structure is created from these pages.
You can define:
- Which pages will be included in the menu
- The order in which they will be presented to the user
- The title of the menu item that leads to a specific page
- The nesting of menu items (Tree structure)
Some of these concepts were discussed in the pages section, and some page settings affect the menu structure you can create from these pages. This section will cover them in more detail.
Navigation
In the left vertical menu, open the "Menu" section to go to the menu page. This section contains a list of all menus, as well as a form for creating a new menu.
Creating a Menu
To create a menu, go to the "Menu" section. At the bottom, there is a form for creating a new menu.
Fill in:
- Name - a non-unique string type. The name can be in any format. It is used for internal operations within the OneEntry Platform. You will distinguish one provider from another by this name, so name your authentication providers in a way that makes it easy for you to work with them.
- Marker - a unique string type. It is used to access the provider within the code of your application. Consider the syntax of the language your project is written in to avoid errors. For example, some languages may not support dashes in variable declarations. In such cases, it would be better to specify "my_provider" instead of "my-provide".
Click "Add" to complete the creation process. If all fields in the form are filled out correctly, the menu will be created and automatically added to the general list of menus located above the creation form.
Configuring the Menu
To configure the menu, go to the "Menu" section.
Select the menu from the list that you want to edit.
Click on the edit icon to access the menu editing subsection.
The tools used for configuring the menu are discussed in more detail in the next article.
Deleting a Menu
To delete a menu, go to the "Menu" section.
Select the menu from the list that you want to delete and click on the delete icon .
Confirm the action in the pop-up dialog.