Difference between revisions of "Page Menu"

From Lianjapedia
Jump to: navigation, search
(Collections)
(Show Menu)
 
(11 intermediate revisions by the same user not shown)
Line 6: Line 6:
  
 
==App Settings: General App Configuration==
 
==App Settings: General App Configuration==
Click the '''Settings''' icon in the ModeBar to open up the App Settings dialog.
+
Click the '''Settings''' icon in the ModeBar to select the App Settings in the [[App Inspector]], then select '''General App Configuration''' from the pulldown.
  
When you have finished editing the settings, click '''Done''' to save the changes and close the dialog or '''Cancel''' to close the dialog without saving.
+
[[{{ns:file}}:l9_app_settings.png|800px|left|border|link={{filepath:l9_app_settings.png}}|Open App Settings]]
 
+
[[{{ns:file}}:open_app_settings.png|800px|left|link={{filepath:open_app_settings.png}}|Open App Settings]]
+
 
<br clear=all>
 
<br clear=all>
  
 
These Settings apply App-wide.
 
These Settings apply App-wide.
 +
 +
Note: if the [[App Inspector]] is closed, clicking the '''Settings''' icon in the ModeBar will open up the App Settings dialog.
  
 
===Show navigation history===
 
===Show navigation history===
 
Show pages navigation history arrow buttons in page header.
 
Show pages navigation history arrow buttons in page header.
  
[[{{ns:file}}:navigation_history.png|800px|left|link={{filepath:navigation_history.png}}|Show navigation history]]
+
[[{{ns:file}}:l9_navigation_history.png|800px|left|border|link={{filepath:l9_navigation_history.png}}|Show navigation history]]
 
<br clear=all>
 
<br clear=all>
 +
 +
Note: this can be overridden at [[#Hide_navigation_history_icons|Page level]].
  
 
===Show navigation menu===
 
===Show navigation menu===
 
Show pages navigation menu in page header.  This is the default setting.  Clicking on the 'hamburger' opens the [[#Page_menu|panel]] Page menu.
 
Show pages navigation menu in page header.  This is the default setting.  Clicking on the 'hamburger' opens the [[#Page_menu|panel]] Page menu.
  
[[{{ns:file}}:navigation_menu.png|800px|left|link={{filepath:navigation_menu.png}}|Show navigation menu]]
+
[[{{ns:file}}:l9_navigation_menu.png|800px|left|border|link={{filepath:l9_navigation_menu.png}}|Show navigation menu]]
 
<br clear=all>
 
<br clear=all>
 +
 +
Note: this can be overridden at [[#Hide_hamburger_menu|Page level]].
  
 
===Show Page Center===
 
===Show Page Center===
 
Show Page Center when the navigation menu icon is clicked, instead of the Page menu.  For more information about using a Page Center, see [[Page Center Tiles]].
 
Show Page Center when the navigation menu icon is clicked, instead of the Page menu.  For more information about using a Page Center, see [[Page Center Tiles]].
  
[[{{ns:file}}:show_page_center.png|800px|left|link={{filepath:show_page_center.png}}|Show Page Center]]
+
[[{{ns:file}}:l9_page_center.png|800px|left|border|link={{filepath:l9_page_center.png}}|Show Page Center]]
 
<br clear=all>
 
<br clear=all>
  
Line 43: Line 47:
  
 
* The 'Menu' option is supported on the desktop client only.
 
* The 'Menu' option is supported on the desktop client only.
 +
 +
===Page menu theme===
 +
Choose the page menu theme: 'Dark' (default) or 'Light'.  This determines the page menu background color.
 +
 +
* From v9.0.
 +
* The 'Light' option is supported on the desktop client only.
 +
* The 'Light' option is supported when [[#Page menu|Page menu]] is set to 'Panel'.
 +
 +
Dark (default):
 +
 +
[[{{ns:file}}:dark_page_menu_theme.png|800px|left|link={{filepath:dark_page_menu_theme.png}}|'Page menu theme' Page Menu]]
 +
<br clear=all>
 +
 +
Light:
 +
 +
[[{{ns:file}}:light_page_menu_theme.png|800px|left|link={{filepath:light_page_menu_theme.png}}|'Page menu theme' Page Menu]]
 +
<br clear=all>
  
 
===Page menu row height===
 
===Page menu row height===
Line 51: Line 72:
 
CSS for the page menu in this App.
 
CSS for the page menu in this App.
 
* Currently ignored.
 
* Currently ignored.
 +
 +
===Additional page menuitems===
 +
Additional page menuitems in the format caption,action|caption,action... where action corresponds to a [[Using the showdocument() function and Lianja.showDocument() method|showdocument()]] argument, e.g. [[Using_the_showdocument()_function_and_Lianja.showDocument()_method#exit:|exit:]] or [[Using_the_showdocument()_function_and_Lianja.showDocument()_method#closeapp:|closeapp:]].
 +
* From v5.3, desktop and Web client.
 +
* A '!' prefix will add a collapsible group caption.
 +
* A '-' on its own will add a menu separator.
 +
<pre>!Other actions|Close App,closeapp:|-|Quit,exit:</pre>
 +
 +
[[{{ns:file}}:additionalpagemenuitems.png|left|link={{filepath:additionalpagemenuitems.png}}|Additional page menuitems]]
 +
<br clear=all>
  
 
==Page Attributes==
 
==Page Attributes==
 
Page Attributes apply to the individual Page.
 
Page Attributes apply to the individual Page.
 +
 +
===Title===
 +
The menu title for this page, e.g.
 +
 +
<pre>Customer Orders</pre>
 +
 +
It can also include an icon.  Terminate the title text with a '#', then specify the icon filename using [[Special Filename Prefixes]]. Terminate it with a '#' and add the page id (Name), e.g.
 +
 +
<pre>Customer Orders#app:/cat_contacts_sm.png#customers</pre>
 +
 +
or
 +
 +
<pre>Customer Orders#lib:/images/sales-order.png#customers</pre>
 +
 +
Note the following options available to customize the icon image:
 +
 +
* Postfix the filename with '-' to invert white to black:
 +
 +
<pre>Customer Orders#lib:/images/sales-order.png-#customers</pre>
 +
 +
* Postfix the filename with '!' and a color to invert white to the specified color:
 +
 +
<pre>Customer Orders#lib:/images/sales-order.png!red#customers</pre>
 +
 +
The color of the text can also be customized. Add another '#' after the page id, then specify the color:
 +
 +
<pre>Customer Orders#lib:/images/sales-order.png!red#customers#blue</pre>
 +
 +
Set the Title in the Attributes ([[:Category:App_Inspector_v5|App Inspector]] or Attributes dialog)):
 +
[[{{ns:file}}:l9_page_title1.png|800px|left|link={{filepath:l9_page_title1.png}}|Title]]
 +
<br clear=all>
 +
 +
Or in the [[Page Builder Assistant]]:
 +
[[{{ns:file}}:l9_page_title2.png|800px|left|link={{filepath:l9_page_title2.png}}|Menu Title]]
 +
<br clear=all>
  
 
===Hide page from menu===
 
===Hide page from menu===
Line 69: Line 135:
 
Show the Page menu in the [[Left Sidebar]] (True &#124; False).  This is another alternative to using the [[#Show navigation menu|default Page menu]] or [[#Show_Page_Center|Page Center]] .
 
Show the Page menu in the [[Left Sidebar]] (True &#124; False).  This is another alternative to using the [[#Show navigation menu|default Page menu]] or [[#Show_Page_Center|Page Center]] .
  
[[{{ns:file}}:ls_show_menu.png|800px|left|link={{filepath:ls_show_menu.png}}|Page Left Sidebar Attribute: Show Menu]]
+
[[{{ns:file}}:l9_ls_show_menu.png|800px|left|border|link={{filepath:l9_ls_show_menu.png}}|Page Left Sidebar Attribute: Show Menu]]
 
<br clear=all>
 
<br clear=all>
  
Line 78: Line 144:
 
To disable both the Page menu and the [[#Show navigation menu|Navigation menu (hamburger)]], check the [[#Show navigation menu|Show navigation menu]] App Setting (true) and check the Page [[#Hide hamburger menu|Hide hamburger menu]] attribute (true).
 
To disable both the Page menu and the [[#Show navigation menu|Navigation menu (hamburger)]], check the [[#Show navigation menu|Show navigation menu]] App Setting (true) and check the Page [[#Hide hamburger menu|Hide hamburger menu]] attribute (true).
  
[[{{ns:file}}:ls_show_menu2.png|800px|left|link={{filepath:ls_show_menu2.png}}|Page Left Sidebar Attribute: Show Menu]]
+
[[{{ns:file}}:l9_ls_show_menu2.png|800px|left|border|link={{filepath:l9_ls_show_menu2.png}}|Page Left Sidebar Attribute: Show Menu]]
 
<br clear=all>
 
<br clear=all>
  

Latest revision as of 12:00, 22 June 2023

Overview

The Page Menu is the primary method to navigate between Pages in the App.

See Also

Understanding UI Navigation, showdocument() and Lianja.showDocument()

App Settings: General App Configuration

Click the Settings icon in the ModeBar to select the App Settings in the App Inspector, then select General App Configuration from the pulldown.

Open App Settings


These Settings apply App-wide.

Note: if the App Inspector is closed, clicking the Settings icon in the ModeBar will open up the App Settings dialog.

Show navigation history

Show pages navigation history arrow buttons in page header.

Show navigation history


Note: this can be overridden at Page level.

Show navigation menu

Show pages navigation menu in page header. This is the default setting. Clicking on the 'hamburger' opens the panel Page menu.

Show navigation menu


Note: this can be overridden at Page level.

Show Page Center

Show Page Center when the navigation menu icon is clicked, instead of the Page menu. For more information about using a Page Center, see Page Center Tiles.

Show Page Center


App Settings: Page defaults

Page default App Settings are applied to all Pages in the App.

Page menu

Choose the appearance of the page navigation menu to use in this App: 'Panel' (default as shown above) or 'Menu'.

'Menu' Page Menu


  • The 'Menu' option is supported on the desktop client only.

Page menu theme

Choose the page menu theme: 'Dark' (default) or 'Light'. This determines the page menu background color.

  • From v9.0.
  • The 'Light' option is supported on the desktop client only.
  • The 'Light' option is supported when Page menu is set to 'Panel'.

Dark (default):

'Page menu theme' Page Menu


Light:

'Page menu theme' Page Menu


Page menu row height

The row height for the page menu items in this App.

  • Currently ignored.

Page menu CSS

CSS for the page menu in this App.

  • Currently ignored.

Additional page menuitems

Additional page menuitems in the format caption,action|caption,action... where action corresponds to a showdocument() argument, e.g. exit: or closeapp:.

  • From v5.3, desktop and Web client.
  • A '!' prefix will add a collapsible group caption.
  • A '-' on its own will add a menu separator.
!Other actions|Close App,closeapp:|-|Quit,exit:
Additional page menuitems


Page Attributes

Page Attributes apply to the individual Page.

Title

The menu title for this page, e.g.

Customer Orders

It can also include an icon. Terminate the title text with a '#', then specify the icon filename using Special Filename Prefixes. Terminate it with a '#' and add the page id (Name), e.g.

Customer Orders#app:/cat_contacts_sm.png#customers

or

Customer Orders#lib:/images/sales-order.png#customers

Note the following options available to customize the icon image:

  • Postfix the filename with '-' to invert white to black:
Customer Orders#lib:/images/sales-order.png-#customers
  • Postfix the filename with '!' and a color to invert white to the specified color:
Customer Orders#lib:/images/sales-order.png!red#customers

The color of the text can also be customized. Add another '#' after the page id, then specify the color:

Customer Orders#lib:/images/sales-order.png!red#customers#blue

Set the Title in the Attributes (App Inspector or Attributes dialog)):

Title


Or in the Page Builder Assistant:

Menu Title


Hide page from menu

Hide from menu at runtime.

If this is checked (True), this Page's Title does not appear in the Page Menu at runtime. Selection of the Page must be handled programatically. This can be achieved using the showdocument() function or Lianja.showDocument() method

Hide hamburger menu

Hide the hamburger menu icon in the Page Header at runtime. Use this to prevent the user from selecting another Page.

Hide navigation history icons

Hide the navigation history arrow icons in the Page Header. Use this to prevent the user from selecting another Page in the Page history.

Show Menu

Show the Page menu in the Left Sidebar (True | False). This is another alternative to using the default Page menu or Page Center .

Page Left Sidebar Attribute: Show Menu


The Show left Sidebar Page attribute must be checked (true) and the Show navigation menu App Setting must be unchecked (false) to enable the Page menu display.

Note: if the Show navigation menu App Setting is unchecked (false) and Show left Sidebar is checked (true), the Page menu will be displayed automatically.

To disable both the Page menu and the Navigation menu (hamburger), check the Show navigation menu App Setting (true) and check the Page Hide hamburger menu attribute (true).

Page Left Sidebar Attribute: Show Menu


The display of the Page menu in the Left Sidebar is supported on the Desktop client only.

Collections

Collections are used to group Pages together in the Page Menu. Click Collection in the Form Tools and you will be prompted to enter a name for your new collection.

Form Tools: Collection

In the Page Menu, select and drag and drop existing Pages to add them to the newly created collection.

Form Tools: Collection

After dragging and dropping Employee Information, this Page has now been added to the HR collection.

Form Tools: Collection

Collections can also be created by right-clicking in the Page Menu panel and selecting New collection....

Form Tools: Collection

Right-click on a collection name to display the context menu. This gives options to Rename... or Delete... the collection.

Form Tools: Collection