Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Insert excerpt
_Banners
_Banners
namescreen
nopaneltrue

Overview

PhixFlow allows you to create navigation menus that always appear. This allows for a single menu to be setup set up that can be accessed from any point in an your application. It is also possible to setup set up a menu that only displays when called, for example if you create a configuration menu for your application that is only shown when the user clicks a button.An application menu, in version 9.0+ of PhixFlow, is configured as a screen and as such can be positioned in different places on the screen. Template menus are provided within the Template Packages that are styled to fit with the look and feel of the rest of the items in the template package. See Installing Template Packages if you need to install oneTemplate navigation menus are provided with the Serene Grey Template Package.

Create a Custom Menu

  1. From the Screens home page

    click Add New

    , click

    Insert excerpt
    _createMenu
    _createMenu
    nopaneltrue
    .

  2. Complete the details:

    1. Name

    , indicative
    1. - indicative of the menu being created

    .
  3. Open Maximised, Untick. We will specify the size of our menu later.
  4. Menu section, scroll through the templates and click on the desired navigation menu.
    Image Removed
  5. Click Create Screen.
  6. The screen opens
  7. Click Properties from the toolbar.
    • Untick Allow Manual Resizing
    • Set Position to Pinned to... the position of your menu. For example Pinned to Top.
    • Set the Height and Width for your menu item. We suggest:

      • for top menus: height of 45px

      • for side menus: width of 250px
  8. Save your changes.
  9. Close and reopen the menu to see the updates.
Note

For a horizontal menu a drop-down button will not work. To create menu with drop-downs; see Startup Actions.

Adding Menu Options

To add buttons to your navigation menu that open a screen:

  1. Find the screen in the repository.
  2. Drag the screen onto the menu bar.
  3. Provide a display
    1. Add to startup action - 

      Insert excerpt
      _toggle_on
      _toggle_on
      nopaneltrue
      if you want the menu to open with the application

    2. All users can View Data - toggle off to only allow selected user groups to view the menu. See Managing User Groups and Privileges.

    3. Position - where you would like the menu to appear. Defaults to Pinned to Top

    4. Height/Width - If using Pinned to Top, the Serene Grey Navigation menu is designed to be 50px

    5. Description, for example, Main navigation menu for application

    6. Template section, click on the desired navigation menu. Hover over each one to see the full description, or right-click and press Display to see a preview.

  4. Click Create Application Menu.

    1. This may take a few minutes to generate the menu.

Image Added

Adding Navigation Menu Buttons

There are two methods to add buttons.

Method 1: Drag Screen onto Navigation Menu

  1. Open your Navigation Menu and ensure it is

    Insert excerpt
    _unlock
    _unlock
    nopaneltrue
    ed 

  2. From the toolbar, click 
    Insert excerpt
    _screen
    _screen
    nopaneltrue
    s to open the list of available Screens in the Repository
  3. Drag the screen you wish to open onto a clear space on the Navigation Menu, i.e. not on top of an existing button
  4. Provide a name for the button and continue

  5. PhixFlow

    adds the menu button and

    automatically creates

    the actionflow.
To 
  1. an actionflow that will open this screen

    1. To edit the actionflow, right-click the button and select Display Actionflow;

see 
    1. see Understanding Actionflows.

When an application user clicks the menu button, the screen opens automatically.

Automatically Display a Menu

To automatically show a navigation menu when an application starts up we use, Startup Actions, which are set to run when an application opens:

In the repository navigate to the startup section and add a new startup action using the 
  1. This process is illustrated here:

Image Added

Note

The default settings for a menu button must be set up for this method to work.  

In your application's

Insert excerpt
_property_settings
_property_settings
nopaneltrue
, ensure a style is set for the Menu Button Component in the Default Components section of the
Insert excerpt
_

add

property_tabs

_add

_property_tabs
namestyle
nopaneltrue

 button.

Tick Default Desktop Action, if you want this to be for desktop devices.

Tick Default Mobile Action, if you want this to be for mobile devices.

Action Method, select the actionflow that opens your navigation menu screen. If you hae not yet created one use

. See Application Properties.

This can also be setup in the System Configuration. See System Configuration.

Method 2: Create button and link to screen

  1. Open your Navigation Menu and ensure it is

    Insert excerpt
    _unlock
    _unlock
    nopaneltrue
    ed 

  2. Open the Palette and open Buttons - Navigation

  3. Drag Button - Custom onto the Navigation Menu and give it a name

  4. From the toolbar, click 

    Insert excerpt
    _screen
    _screen
    nopaneltrue
    s to open the list of available Screens in the Repository

  5. Drag the required screen and drop it onto the button you just created
  6. PhixFlow automatically creates an actionflow that will open this screen

    1. To edit the actionflow, right-click the button and select Display Actionflow; see Understanding Actionflows.

  7. This process is illustrated here:

Image Added

Updating the Navigation Button Icon

  1. Click on the button to open its properties

  2. Click the 

    Insert excerpt
    _property_tabs
    _property_tabs
    namestyle
    nopaneltrue

  3. Scroll down to Image

  4. Tick the box to override the style

  5. Insert excerpt
    _addIcon
    _addIcon
    nopaneltrue
     allows you to add a new image

    1. Follow the prompts to add a new image

_add
  1. Insert excerpt
    _image_list
    _image_list
    nopaneltrue

 button to do so. Help on this topic can be found in Understanding Actionflows.Save your changes and now when you open your application the avigation bar will appear.
  1.  allows you to select an existing image

    1. A list of available images appears, drag the desired image into the input box

  2. Insert excerpt
    _save
    _save
    nopaneltrue
     your changes

Example Setup

Image Added