Responsive Menu Settings
Menu Settings
The menu settings allow to define the attributes of the application display, according to the following:
Menu configuration Interface.
Friendly URL
This attribute defines the application’s friendly URL.
Alphanumeric characters and some special characters are allowed, such as: hyphen (-), underscore (_), comma (,), and dot (.).
The use of accents or spaces is not allowed.
Some recommendations for definition are:
- Use keywords for identification.
- Use hyphens to separate words.
- Use only lowercase letters.
- Avoid using dates.
Example of an application using a Friendly URL
The friendly URL can also be defined in the application list on the project’s initial screen.
See the example below
Hide menu items
This attribute defines the behavior of menu items based on the configuration set in the URL.
When the attribute is enabled
Menu items will be hidden in the following situations:
- No link configured: When the item does not have an associated link.
- Link to an application with active security: When the link points to an application with active security and the user does not have access permission.
- Disabled by macro: When the item is disabled using the
sc_menu_disable
macro.
When the attribute is disabled
Menu items will always be displayed, but with different behaviors depending on the situation:
- No link configured: It will be displayed as a regular item without visual changes.
- Link to an application with active security or Disabled by macro: It will be displayed but in a disabled state.
Example of items with the attribute disabled
Application Title
Defines the application title, which can be set dynamically using langs or with a fixed text.
In this option it is also possible to use langs, for a system with multiple languages. Click here and see how to configure the langs
Example of the application title
Navigation
Defines some display options for the menu, such as using navigation paths (breadcrumb), tabs, and the initial application.
Menu Navigation Configuration Interface.
Open Items in Tabs
Defines the behavior of the menu when opening items.
When the attribute is enabled items will be opened in tabs, as shown in the image below.
Application with tab navigation.
Tab Context Menu
Enables the display of a context menu when right-clicking on one of the open tabs in the menu application, making it easier for the user to interact with open tabs.
Example of the context menu
The displayed options are:
- Reload - Reloads the tab where the context menu was opened.
- Close Tab - Closes only the tab where the menu was opened.
- Close all - Closes all open tabs.
- Close others - Closes all other tabs, keeping only the tab where the menu was opened.
- Close all to the right - Closes all tabs positioned to the right of the tab where the menu was opened.
- Close all to the left - Closes all tabs positioned to the left of the tab where the menu was opened.
This attribute is displayed only when the menu is configured to open in tabs.
Show Navigation Path
This attribute enables the display of the navigation path (breadcrumb), which will be shown when navigating between links in an application.
Example of the breadcrumb
Default Application
Defines whether the menu will have an application or a default URL, always displayed when the menu is opened. This attribute can be set as:
- Blank - The menu will start with a blank screen.
- An application - The menu will open with an application already loaded.
- URL (Web Address) - The menu will display a web page as the initial screen.
If the option to use tabs is enabled, the initial application will be displayed in the home tab, which cannot be closed.