Wiki source code of Menus

Last modified by Pierre Dubois on 2011/10/15 16:29

Show last authors
1 = Elements of navigation =
2
3 The navigation is organized in pages and menus:
4
5 [[image:img14.png||alt="Pages and Menus"]]
6
7
8 = Page =
9
10 A Page is a tab entry in the portal.
11
12 It has a name, a title, an index (position in the list of pages) and optionally a menu.
13
14 The list of pages is accessible in the menu Design / Pages:
15
16 [[image:img17.png||alt="List of Pages"]]
17
18 [[image:img18.png||alt="Page Details"]]
19
20
21 == Page Visibility ==
22
23 A page is visible if:
24
25 * The user has the right access if an AccessRight has been set on the page
26 * The page menu is visible if an menu has been set.
27
28 WARNING: If you create a menu for a page, and do not add submenus in it, the menu will not be visible. A menu is visible only if at least one menu entry in it is visible. As a result, a page with an empty menu is not visible.
29
30
31 = Menu =
32
33 A menu has menu entries (as sub menus).
34
35 A sub menu may invoke an action.
36
37
38 The Home menu:
39
40
41 [[image:img15.png||alt="Home Menu"]]
42
43 Click on the Wrench to edit the menu.
44
45 The same menu in edit mode:
46
47 [[image:img19.png||alt="Home Menu Edit"]]
48
49 A menu entry that call the list action of the custTest entity:
50
51 [[image:img18.png||alt="A Menu Entry"]]
52
53 == Menu visibility ==
54
55
56 A menu is visible only if at least one sub menu entry in it is visible.
57 A final menu (a menu with a user action) is visible if the user has access to the action.
This wiki is licensed under a Creative Commons 2.0 license
XWiki Enterprise 9.11.5 - Documentation