Wiki source code of Simple vs advanced profiles
Version 1.1 by Pauline Bessoles on 2025/04/16
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | = Simple and Advanced editing profiles = | ||
2 | |||
3 | Because XWiki is an [[application wiki>>Main.SecondGenerationWiki]], not all users will need to use the same features, and not all users need to use advanced features. For this reason, XWiki comes with a Simple and an Advanced editing profile. Users can easily choose which profile they prefer to use on their [[User Profile>>extensions:Extension.User Module.User Profile Application.WebHome]] page (available at the top right of the page when you are logged in). By default, new users are given the Simple editing profile, but they can switch to the Advanced one as described below. | ||
4 | |||
5 | {{id name="HSimpleMode"/}} | ||
6 | |||
7 | == Simple Profile == | ||
8 | |||
9 | Clicking on the "Edit" button has the following behavior for a "Simple" user: | ||
10 | |||
11 | * If the current page is displayed by a sheet (e.g. if the page has an Object attached that has a sheet associated with it) then the page will be edited in [[Inline form>>#HFormeditingmode28akainlinemode29]] edit mode. | ||
12 | * If the current page does not have a sheet (i.e. it's a plain wiki page) then: | ||
13 | ** If the preferred content editor is the WYSIWYG editor and the syntax of the current page supports WYSIWYG editing then the page will be [[edited in-place>>||anchor="HIn-placeediting"]]. | ||
14 | ** Otherwise, the page will be edited in [[Wiki edit mode>>#HWikieditingmode]]. | ||
15 | |||
16 | {{id name="HAdvancedMode"/}} | ||
17 | |||
18 | == Advanced Profile == | ||
19 | |||
20 | Experienced XWiki users will want to use all the editing choices (particularly those who want to use XWiki programming features). They can choose to switch to the Advanced profile on their user profile page (see image below). Following this, clicking on the arrow in the "Edit" button on any page will display the full editing menu, letting the user choose the mode to use ("Wiki", "Inline form", "Objects"...). | ||
21 | |||
22 | {{image reference="AdvancedEditMode.png"/}} | ||
23 | Once you have switched to the Advanced profile, the "Edit" menu will look like the following, on mouse click: | ||
24 | |||
25 | {{image reference="EditAdvancedMode.png"/}} | ||
26 | |||
27 | * [[Form Editing Mode>>#HFormeditingmode28akainlinemode29]] | ||
28 | * [[Object Editing Mode>>#HObjectseditingmode]] | ||
29 | * [[Class Editing Mode>>#HClasseseditingmode]] | ||
30 | * [[Access Rights Editing Mode>>#HAccessRightseditingmode]]. Note that this menu entry will only appear for [[Terminal pages>>Documentation.UserGuide.Features.ContentOrganization#HTerminology]]. For [[Nested Pages>>Documentation.UserGuide.Features.ContentOrganization#HTerminology]], you'll be able to access rights by clicking on the "Administer Page" entry in the "More Actions" menu (3 vertical dots menu). | ||
31 | |||
32 | In addition, advanced users have the ability to [[create Terminal pages>>Documentation.UserGuide.Features.DocumentLifecycle#HByusingtheAddPageaction]] (i.e. pages that can't have children). |