Changes for page Page Editing

Last modified by Vincent Massol on 2025/04/09

From version 70.2
edited by Silvia Macovei
on 2010/08/19
Change comment: Minor text fix
To version 70.3
edited by Sorin Burjan
on 2010/08/19
Change comment: added image

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.SilviaRusu
1 +XWiki.Sorin
Content
... ... @@ -1,4 +1,6 @@
1 -{{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}}
1 +{{box cssClass="floatinginfobox" title="**Contents**"}}
2 +{{toc/}}
3 +{{/box}}
2 2  
3 3  In XWiki all pages are editable (provided you are logged in and/or have the edit rights). To edit a page, all you have to do is to click the "Edit" button which is usually located at the top left of the page you're viewing (please note however that the location of the "Edit" button varies depending on the skin your wiki is using).
4 4  
... ... @@ -5,7 +5,7 @@
5 5  For instance if you're using the [[Toucan skin>>code:Skins.ToucanSkin]] you should see what is on the image below:
6 6  
7 7  
8 -[[image:EditionSimpleMode.PNG||style="border:1px solid black;]]
10 +[[image:EditionSimpleMode.PNG||style="border:1px solid black;"]]
9 9  
10 10  If you're using the [[Colibri skin>>code:Skins.ToucanSkin]] with the new Action Menus introduced in [[XWiki 2.1>>xwiki:Main.ReleaseNotesXWikiEnterprise21]] you should see the following:
11 11  
... ... @@ -27,10 +27,10 @@
27 27  
28 28  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 advanced mode on their user profile page (see image below). Following this, clicking on the "Edit" button on any page will display the full editing menu, letting the user choose which mode he wants to use ("Wiki", "Inline form", "Objects"...). Under the "Show" tab, the "Wiki code" option is displayed too.
29 29  
30 -[[image:AdvancedEditMode.png||style="border:1px solid black;]]
32 +[[image:AdvancedEditMode.png||style="border:1px solid black;"]]
31 31  Once you have switched to advanced mode, the "Edit" menu will look like this on mouse over:
32 32  
33 -[[image:EditAdvancedMode.PNG||style="border:1px solid black;]]
35 +[[image:EditAdvancedMode.PNG||style="border:1px solid black;"]]
34 34  This will give you access to the following additional editing modes:
35 35  
36 36  * [[Form Editing Mode>>Features.PageEditing#HFormeditingmode28akainlinemode29]]
... ... @@ -74,9 +74,11 @@
74 74  
75 75  [[image:Syntax2.png||style="border:1px solid black;"]]
76 76  
77 -{{velocity}}{{html wiki="true"}}
79 +{{velocity}}
80 +{{html wiki="true"}}
78 78  #info("If you choose the XWiki Syntax 2.0 and switch to the WYSIWYG editor you'll notice that you'll be using the [[new WYSIWYG editor>>WysiwygEditor]].")
79 -{{/html}}{{/velocity}}
82 +{{/html}}
83 +{{/velocity}}
80 80  
81 81  = WYSIWYG editing mode =
82 82  
... ... @@ -84,9 +84,11 @@
84 84  
85 85  [[image:wysiwyg.png||style="border:1px solid black;"]]
86 86  
87 -{{velocity}}{{html wiki="true"}}
91 +{{velocity}}
92 +{{html wiki="true"}}
88 88  #info("Starting with XWiki Enterprise 1.7 we now have 2 WYSIWYG editors and we are phasing out the old editor (based on TinyMCE) that you'll be automatically using if your documents are written in XWiki Syntax 1.0. If your [[document is using the XWiki Syntax 2.0>>#HChoosingasyntax]] or if your wiki is [[configured to use the XWiki Syntax 2.0 by default>>platform:AdminGuide.Configuration#HConfiguringWikiSyntaxesanddefaultSyntax]] then you'll be using automatically the [[new WYSIWYG editor (based on GWT)>>WysiwygEditor]].")
89 -{{/html}}{{/velocity}}
94 +{{/html}}
95 +{{/velocity}}
90 90  
91 91  Read the [[documentation for using the new WYSIWYG editor>>WysiwygEditor]] for more details.
92 92  
... ... @@ -95,6 +95,7 @@
95 95  Inline mode, or Form mode, is a special feature of XWiki, that allows administrators to define patterns of structured information (like a blog entry, or a standard tax form). Pages containing such structured information can be edited and re-edited as simple HTML Forms, which have (almost) the same structure as the displayed page. Thus, when clicking the edit button, it seems that the page content can be edited in-place, or inline and the form view is automatically displayed.
96 96  
97 97  Technically the inline mode is triggered automatically differently whether the page is written in XWiki Syntax 1.0 or 2.0, using the following algorithm:
104 +
98 98  * XWiki Syntax 1.0: If the page contains a call to ###includeForm()##
99 99  * XWiki Syntax 2.0: If the page is including another page which itself contains an object of the type ##XWiki.SheetClass##
100 100  
... ... @@ -103,6 +103,7 @@
103 103  = Objects editing mode =
104 104  
105 105  In XWiki it's possible to attach Objects to pages. Objects are simple sets of properties with values that add additional information about a page. For example a security right can be added to a page to control its rights, a blog object is attached to a page representing a blog entry, etc. Again, it's beyond this simple guide to explain this programming technique. Please check the [[Developer's Guide>>DevGuide.WebHome]] to know more about programming with Objects/Classes.
113 +[[image:ObjectEditor.png||style="border:1px solid black;"]]
106 106  
107 107  = Classes editing mode =
108 108  

Get Connected