Step 4: Adding the menu to the stage in the control panel
Let's open (or refresh if it was open) the control panel to see the added menu module in the structure. It can be found in the Modules dropdown menu.
Let's add it to the stage. We see the preview picture because now there is no data set for this module.
We can edit the module by double clicking on it. We choose a data provider:
Click Add a New Menu Item button to add a new button to the menu.
And set its label.
We create three test buttons: Label1, Label2, Label3. They will be arranged one by one in a row by default.
Let's also add a menu module in the control panel without setting any data for it to check the logic.
Let's preview website to see the result.
On the left we can see the menu where we set test data, and on the right, where we added an empty menu module in the control panel, we see nothing. So, the logic works right.