Contents

 
Home
PHPRunner 6.0 manual
Prev Page Next Page
 
 

Visual Editor - Menu builder

 

Using menu builder you can modify and reorder menu entries, create cascading menu.

Once a project is created, menu consists of tables selected for this project. Depending on selected layout menu appears as horizontal or vertical menu. More info on selecting layout. On this stage menu is single-level.

Menu_vertical

Menu_gorizontal

To open Menu builder, go to the Visual Editor page and click menubuilder_bt.

Menu_builder

You can change already created menu entries by double-clicking on them or selecting Properties with right-mouse button. You can add new groups and links. Notice that group can also include the link or serve just as folder for other groups and links.

yellowbulbNote: You can always change the type of any menu entry from link to group and vice versa using Properties dialog.

Delete item button deletes currently selected menu item.

Reset to defaults button resets menu to its default state - as if project and menu was just created.

Link attributes

Menu_builder_pages

While adding or editing a link you are able to specify the following link attributes:

Type - Select between a hyperlink or a group.

Link type - Select between PHPRunner page or External page.

Link to - If Link type is set to External page, then add link to any web page. If Link type is set to PHPRunner page, then firstly select a table within your project and then one of pages that are available for selected table. Usually, you can choose between:

· List page - displays data from the table;
· Add page - allows to add new record to the table;
· Search page - provides advanced search for a data in the table;
· Print page - prepares user-friendly page with data from the table for printing.

More info about what kind of PHPRunner pages you can create and use.

Click '...' button next to the page type list box to set link parameters. Example of link parameter: orderby=aDescription. The link with parameter is carsbcolor_list.php?orderby=aDescription.

Menu_builder_link

Note that user group permissions are applied to the internal links (PHPRunner pages) and not applied to the external ones.

Link text - Link text will be displayed as menu item title. If multilanguage support is turned on in your project, you will see Multilanguage... button that allows translating link text into several languages. More info on multiple language support.

Style - Set menu item text style by adding CSS style description. You can add several CSS properties using semicolon between them.

Menu_builder_style

Here are several examples of how you can modify menu item text style:

· font-size:12px; color:red
· font-size:200%; font-weight:bold
· font: 12px italic; border: solid
· color:rgb(255,0,0); background-color:black
· border: dotted red 2 px

Open in new window option allows opening the links that compose a menu in new browser window.

Cascading menu

yellowbulbNote: Cascading menu is supported by all layouts except Default.

To create a cascading menu, you can drag and drop already created menu entries building cascading structure. Or you can right-click certain menu item or blank area near menu and create new group or link.

Menu_builder_cascade

If you select layout with vertical menu you will see Tree-like menu check box that allows to display vertical cascade menu that expands/collapses menu entries.

Menu_builder_tree

Converted from CHM to HTML with chm2web Standard 2.85 (unicode)