Skip to main content

Menu setup

OneEntry lets you build tree-like (nested) navigation structures.

A menu is built from pages that already exist in your project.

You can choose:

  • Which pages the menu includes
  • The order in which users see them
  • Which child pages form the nested levels of the menu

Name and marker​

To change the menu's name and marker, edit the "Name" and "Marker" fields in the "Details" block.

Marker

Your application's source code uses the marker, so make sure that changing it won't break anything in your application.

The menu structure block is a list of pages with additional tools.

The Show menu checkbox​

The Show menu checkbox switches how the menu list is displayed:

  • Cleared: the list shows all pages in the project. Use this mode to add pages to the menu.
  • Selected: the list shows only the items included in the menu, in their order and with their nesting. Use this mode to set the order and hierarchy.
The checkbox state is remembered

The state of the "Show menu" checkbox is saved: when you open the menu editor again, the list appears the same way.

After you drag items, the order of rows in the table matches the order of menu items on the site.

Above the list, on the right, there are two counters: "Pinned menu items" shows the number of pinned pages, and "Included in menu" shows the number of items added to the menu.

Below the counters is the list of pages with their tools.

Adding pages​

When "Show menu" is cleared, the menu block shows all pages created in the project. Select the pages you want to add to the menu and turn on their toggle Enabled toggle.

Some pages have child pages, which form a tree structure. To add child pages to the menu, expand the list under the parent page by clicking Expand child pages, and then select the pages you need.

Each child page is included in the menu with its own toggle. If the menu should show all child pages of a parent, pin the parent item, as described in "Pinning menu items" below.

Changing the order of menu items​

You can also set the order in which menu items appear.

Turn on "Show menu" in the upper-left part of the menu. Press and hold the Move icon of the item you want to move, and then drag the item. Changes are saved automatically.

Page order

The order you set is not applied to the general list of pages.

Pinning menu items​

When you pin a menu item, all of its child pages are automatically shown in the menu.

To pin an item, click the Pin icon next to the page. Its tooltip reads "Automatically output all child". You can pin only a page that is already included in the menu.

To unpin an item, click the same icon again. On a pinned item, its tooltip reads "Turn off automatic inclusion of child pages".

The "Pinned menu items" counter above the list shows how many pages are pinned.

A menu item's title can differ from the page name. To set it, open the pages section in the left menu, select the page in the list, and open it for editing.

On the "Basic data" tab, in the "Details" block, find the "Name of the menu item for the page" field. In the list of pages, this value appears in the "Menu Title" column. Enter a new menu item title for the page.

Changes are saved automatically.

Nesting​

Menus support nesting, which gives them a tree structure. To nest menu items, you need to nest the pages themselves.

To do this, open the pages section in the left menu, select the page you want to configure, and open it for editing. Go to the "Categories" subsection and specify the parent page.

Then return to the menu settings. The menu items show the same nesting as the pages.

Custom menu items​

Besides pages, you can add your own items to the menu, for example, a link that has no page in the project.

The "+ Add Menu Item" button appears above the list when "Show menu" is turned on. Click it and fill in the fields in the dialog:

  • Item Title: the item name (required);
  • Value / URL: the item's value or link (required).

Click "Save" to add the item, or "Cancel" to close the dialog without saving. The new item appears in the list together with the menu pages, and you can move it the same way as pages.

Each custom item has two actions in its row:

EditEdit: opens the same dialog so you can change the item's name and value

Delete Delete: deletes the item after you confirm

If a custom item has nested items or pages, choose one of these options when you delete it:

  • Delete this item only: deletes only the item itself;
  • Delete item + nested items and pages: deletes the item together with its nested custom items and removes its nested pages from the menu. The pages themselves are not deleted.

Deleting a menu​

In the left menu, open the "Menu" section. Select the menu you want to delete and click the delete icon Delete. Confirm the action in the dialog.