...
Tag | Attribute | Values | Usage |
---|---|---|---|
Menu | heading | KeyText for the name of the menu. | |
Menu | permissions | Comma separated list of permissions. If user has any of the permissions in the list, user will see menu. | |
Menu | alignment | left, center, right | Alignment of menu if it is in the toolbar. |
Menu | display | toolbar, menu | Placement of the menu, in the toolbar, or in the menu |
Menu | class | Will add a css class to the menu for styling purposes | |
Menu | anchor-class | Will add a css class to the menu for styling purposes, typically hoover effect | |
Menu | icon | Icon name, see link below | Name of icon to use |
Menu | display-icon | true, false | Show icon or not on menu |
Menu | target | _blank | _blank as attribute for target will open URL in a new tab |
Presentation | persistent-identity | Persistent identity of a presentation. base-type must also be used if this attribute is used. | |
Presentation | identity | Identity of a presentation. base-type must also be used if this attribute is used. | |
Presentation | label | Label of a presentation. base-type must also be used if this attribute is used. | |
Presentation | base-type | Any base type | Base type of the presentation pointed out by persistent-identity, identity or label |
Url | language markettarget | A language code for URLs specific to a language A market code for URLs specific to a market If no language or market specified, function will fallback to general url. _blank as attribute for target will open URL in a new tab | Url which the presentation may point to. |
...
Code Block | ||
---|---|---|
| ||
<MenuProvider> <Menus> <Menu heading="Documents" permissions="Administration" alignment="right" display="toolbar" class="cssclass" anchor-class="hover-effect" icon="File"> <Presentation persistent-identity="documentation" base-type="Catalogue" /> </Menu> <!-- Open base URL in new tab --> <Menu heading="Title" alignment="center" display-icon="false" display="toolbar" target="_blank" class="cssclass" anchor-class="hover-effect"> <!-- Open base URL in new tab --> <Url target="_blank">http<Url>http://signifikant.se</Url> <Url language="en-GB">http://signifikant.se</Url> </Menu> <Menu heading="Title" alignment="center" display-icon="false" display="toolbar" class="cssclass" anchor-class="hover-effect"> <Url>http://signifikant.se</Url> <Url market="EMEA">http://signifikant.se</Url> </Menu> </Menus> </MenuProvider> |
...