Menu Item URL Module

Overview

This module is used for defining new second-level menu's item referencing to the URL.

Module's schema is defined in menu.xsd.

Menu item description in tooltip

You can assign short description available as tooltip to menu items.

To do this just add translation with key matching below pattern:

<plugin_name>.menu.<menu_category_name>.<menu_item_name>.description

For example to add tooltip for Production orders -> Order groups just add to orderGroups_XX.properties (replace XX by language code):

orderGroups.menu.orders.orderGroups.description = A group of production orders usually represents a customers order for multiple products

Attributes

name

type

required

description

name

string

yes

Name of the menu's item.

category

string

yes

Name of the first-level menu's item where the item will be added.

url

string

yes

URL referenced by the menu's item.

Example

Please find below an example of plugin defining one menu's url module. Line 8 contains a module which defines new second-level menu's url sampleItem in category sampleCategory. The item will be referencing to the *http://www.qcadoo.com/*. 

<?xml version="1.0" encoding="UTF-8"?>
<plugin plugin="samplePlugin" version="1.0.0" 
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
    xmlns="http://schema.qcadoo.org/plugin" 
    xmlns:model="http://schema.qcadoo.org/modules/menu" 
    xsi:schemaLocation="http://schema.qcadoo.org/plugin http://schema.qcadoo.org/plugin.xsd http://schema.qcadoo.org/modules/menu http://schema.qcadoo.org/modules/menu.xsd">

    <menu:menu-item-url name="sampleItem" category="sampleCategory" url="http://www.qcadoo.com/" />

</plugin>