Changes for page Help
Last modified by Martin Výlet on 19.03.2025 21:26
From version 1.1
edited by XWikiGuest
on 16.06.2017 10:13
on 16.06.2017 10:13
Change comment:
Create automatic redirect.
To version 4.1
edited by Martin Výlet
on 19.03.2025 21:26
on 19.03.2025 21:26
Change comment:
Install extension [org.xwiki.platform:xwiki-platform-help-ui/17.1.0]
Summary
-
Page properties (5 modified, 0 added, 0 removed)
-
Objects (0 modified, 1 added, 1 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,0 +1,1 @@ 1 +$services.localization.render('help.title') - Parent
-
... ... @@ -1,0 +1,1 @@ 1 +Main.WebHome - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. XWikiGuest1 +XWiki.vyl0022 - Hidden
-
... ... @@ -1,1 +1,1 @@ 1 - true1 +false - Content
-
... ... @@ -1,0 +1,114 @@ 1 +{{include reference="Help.Code.VelocityMacros" /}} 2 + 3 +{{velocity output="false"}} 4 +#macro (display4Cards $cards) 5 + <ul class="card-list"> 6 + #foreach ($card in $cards) 7 + <li class='card'> 8 + #helpExampleCard($card) 9 + </li> 10 + #end 11 + </ul> 12 +#end 13 + 14 +#set ($howToCards = [{ 15 + 'icon': 'fa fa-support', 16 + 'title': $services.localization.render('help.start.title'), 17 + 'description': $services.localization.render('help.start.description'), 18 + 'documentation': "https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/?version=$escapetool.url($xwiki.version)" 19 +}, { 20 + 'icon': 'fa fa-play-circle', 21 + 'title': $services.localization.render('help.videos.title'), 22 + 'description': $services.localization.render('help.videos.description'), 23 + 'documentation': 'Help.Videos.WebHome' 24 +}]) 25 + 26 +#if ($xwiki.exists('Help.History.WebHome')) 27 + #set ($historyURL = $xwiki.getURL('Help.History.WebHome', 'view', $NULL, 'History')) 28 +#else 29 + ## We need to generate the page history because the Extension Manager doesn't import it. 30 + #set ($historyURL = $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({ 31 + 'content': $services.localization.render('help.history.version11.content'), 32 + 'comment': $services.localization.render('help.history.version11.comment'), 33 + 'form_token': $services.csrf.token, 34 + 'xredirect': $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({ 35 + 'title': $services.localization.render('help.history.version21.title'), 36 + 'content': $services.localization.render('help.history.version21.content'), 37 + 'form_token': $services.csrf.token, 38 + 'xredirect': $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({ 39 + 'title': $services.localization.render('help.history.version22.title'), 40 + 'content': $services.localization.render('help.history.version22.content',['**']), 41 + 'comment': $services.localization.render('help.history.version22.comment'), 42 + 'minorEdit': 1, 43 + 'form_token': $services.csrf.token, 44 + 'xredirect': $xwiki.getURL('Help.History.WebHome', 'save', $escapetool.url({ 45 + 'content': "$services.localization.render('help.history.version31.content',['**']) $util.newline${util.newline} $services.localization.render('help.history.version31.content1')", 46 + 'form_token': $services.csrf.token, 47 + 'xredirect': $xwiki.getURL('Help.History.WebHome', 'view', $NULL, 'History') 48 + })) 49 + })) 50 + })) 51 + }))) 52 +#end 53 + 54 +#set ($featureCards = [{ 55 + 'icon': 'fa fa-pencil', 56 + 'title': $services.localization.render('help.edit.title'), 57 + 'description': $services.localization.render('help.edit.description',["<a href='https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/PageEditing' class='wikiexternallink'>",'</a>',"<a href='$xwiki.getURL('XWiki.XWikiSyntax')'>"]), 58 + 'documentation': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/PageEditing', 59 + 'examples': $xwiki.getURL('Sandbox.WebHome', 'edit', 'editor=wysiwyg') 60 +}, { 61 + 'icon': 'fa fa-file-text-o', 62 + 'title': $services.localization.render('help.templates.title'), 63 + 'description': $services.localization.render('help.templates.description'), 64 + 'documentation': 'Help.Templates.WebHome', 65 + 'examples': $xwiki.getURL('Help.Templates.WebHome', 'view', $NULL, 'HExamples') 66 +}, { 67 + 'icon': 'fa fa-file-excel-o', 68 + 'title': $services.localization.render('help.macros.title'), 69 + 'description': $services.localization.render('help.macros.description'), 70 + 'documentation': 'Help.Macros.WebHome', 71 + 'examples': $xwiki.getURL('Help.Macros.WebHome', 'view', $NULL, 'HExamples') 72 +}, { 73 + 'icon': 'fa fa-files-o', 74 + 'title': $services.localization.render('help.applications.title'), 75 + 'description': $services.localization.render('help.applications.description'), 76 + 'documentation': 'Help.Applications.WebHome', 77 + 'examples': $xwiki.getURL('Help.Applications.WebHome', 'view', $NULL, 'HExamples') 78 +}, { 79 + 'icon': 'fa fa-sitemap', 80 + 'title': $services.localization.render('help.organization.title'), 81 + 'description': $services.localization.render('help.organization.description'), 82 + 'documentation': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/ContentOrganization/', 83 + 'examples': $xwiki.getURL('Main.AllDocs', 'view', 'view=tree') 84 +}, { 85 + 'icon': 'fa fa-history', 86 + 'title': $services.localization.render('help.history.title'), 87 + 'description': $services.localization.render('help.history.description'), 88 + 'documentation': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/VersionControl', 89 + 'examples': $historyURL 90 +}, { 91 + 'icon': 'fa fa-download', 92 + 'title': $services.localization.render('help.import.title'), 93 + 'description': $services.localization.render('help.import.description'), 94 + 'documentation': 'https://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/Features/Imports' 95 +}]) 96 +{{/velocity}} 97 + 98 +{{velocity}} 99 += $services.localization.render('help.title1') = 100 + 101 +$services.localization.render('help.description1') 102 + 103 +{{html clean="false"}} 104 +#display4Cards($howToCards) 105 +{{/html}} 106 + 107 += $services.localization.render('help.title2') = 108 + 109 +$services.localization.render('help.description2') 110 + 111 +{{html clean="false"}} 112 +#display4Cards($featureCards) 113 +{{/html}} 114 +{{/velocity}}
- XWiki.RedirectClass[0]
-
- Location
-
... ... @@ -1,1 +1,0 @@ 1 -xwiki:Main.Help.WebHome
- XWiki.UIExtensionClass[0]
-
- Extension Point ID
-
... ... @@ -1,0 +1,1 @@ 1 +org.xwiki.platform.panels.Applications - Extension Scope
-
... ... @@ -1,0 +1,1 @@ 1 +wiki - Extension ID
-
... ... @@ -1,0 +1,1 @@ 1 +platform.help - Extension Parameters
-
... ... @@ -1,0 +1,3 @@ 1 +label=$services.localization.render('help.title') 2 +target=Help.WebHome 3 +icon=icon:help