Changes for page Home

Last modified by Jesse Veentjer on 26-5-2025 10:13

From version 123.1
edited by Jesse Veentjer
on 31-10-2022 12:33
Change comment: There is no comment for this version
To version 1.1
edited by Jesse Veentjer
on 29-9-2022 02:04
Change comment: Install extension [org.xwiki.platform:xwiki-platform-distribution-flavor-common/14.7]

Summary

Details

Page properties
Content
... ... @@ -1,109 +1,54 @@
1 -(% class="floatinginfobox wbrechts" %)
2 -(((
3 -(% class="wbrb" %)
4 -[[image:cheer.gif||data-xwiki-image-style-alignment="center"]]
1 +{{box cssClass="floatinginfobox"}}
2 +{{velocity}}
3 +{{html clean="false"}}
4 +## Chrome's XSS Auditor blocks the preview action if:
5 +## * the submitted content has an iframe with an external URL
6 +## * the preview action displays the submitted iframe
7 +## The workaround is to make sure the submitted content (the macro markers) don't match the preview HTML.
8 +## See XWIKI-14818: Preview triggers ERR_BLOCKED_BY_XSS_AUDITOR in Chrome
9 +#set ($iframe = 'iframe')
10 +<$iframe src="https://www.youtube.com/embed/9QTWrZ7OfzI" title="YouTube video of XWiki" role="presentation" allowfullscreen></$iframe>
11 +{{/html}}
12 +{{/velocity}}
13 +{{/box}}
5 5  
6 -(% class="wbtoc" %)
7 -(((
8 - (% class="wbtocheader" %)Inhoud
15 += Welcome to your wiki =
9 9  
10 -{{toc/}}
11 -)))
12 -)))
17 +XWiki is the best tool to organize your knowledge. A //wiki// is organized in a hierarchy of //pages//. You can create multiple wikis, each with its own set of pages.
13 13  
14 -(% class="wblinks" %)
15 -(((
16 -= **Welkom op de WB Kennisbank** =
19 +XWiki can be used as a knowledge base (support, documentation, sales, etc.), for collaborative workspaces or even as a complete intranet.
17 17  
18 -Hier kunnen we kennis, de laatste ontwikkelingen (nieuws), bestanden en ideeën plaatsen en delen. Klik[[ hier >>doc:.Werkwijze.Applicaties.Kennisbank.WebHome]]voor uitleg hoe een pagina aan te maken en wat de mogelijk is binnen een pagina.
21 += The basics =
19 19  
20 -{{velocity}}
21 -## Escape special characters in macro parameter values.
22 -#set ($openToDoc = $doc.documentReference.toString().replaceAll('([~"])', '~$1'))
23 -## Apply the configured page exclusions.
24 -#set ($config = $xwiki.getDocument('PanelsCode.NavigationConfiguration'))
25 -#set ($exclusions = $collectiontool.set)
26 -#set ($defaultDocumentName = $services.model.getEntityReference('DOCUMENT', 'default').name)
27 -## Exclude top level extension pages.
28 -#if ($config.getValue('excludeTopLevelExtensionPages') == 1)
29 - #set ($query = $services.query.hql('select space.name from XWikiSpace space where space.parent is null'))
30 - #set ($discard = $query.addFilter('hidden/space'))
31 - #foreach ($result in $query.execute())
32 - #set ($documentReference = $services.model.createDocumentReference($NULL, $result, $defaultDocumentName))
33 - #set ($installedExtensions = $services.extension.xar.getInstalledExtensions($documentReference))
34 - #if ($installedExtensions && $installedExtensions.size() > 0
35 - && !$services.extension.xar.isEditAllowed($documentReference))
36 - #set ($discard = $exclusions.add("space:$services.model.escape($result, 'SPACE')"))
37 - #end
38 - #end
39 -#end
40 -## Exclude top level application pages.
41 -#if ($config.getValue('excludeTopLevelApplicationPages') == 1)
42 - #set ($statement = 'select space.name '
43 - + 'from XWikiSpace as space, Document as doc, doc.object(AppWithinMinutes.LiveTableClass) as app '
44 - + 'where space.parent is null and doc.space = space.reference')
45 - #set ($query = $services.query.xwql($statement).addFilter('hidden/space'))
46 - #foreach ($result in $query.execute())
47 - #set ($discard = $exclusions.add("space:$services.model.escape($result, 'SPACE')"))
48 - #end
49 -#end
50 -## Inclusions are treated as exceptions to the dynamic exclusion filters.
51 -#if ($config.getValue('excludeTopLevelExtensionPages') == 1 || $config.getValue('excludeTopLevelApplicationPages') == 1)
52 - ## FIXME: This panel is cached and the cache is not invalidated by default when an extension is installed or
53 - ## uninstalled and neither when an application is created, deleted or renamed. Ideally we should invalidate the cache
54 - ## whenever a top level page is created or modified but we can't do this ATM so the next best thing is to invalidate
55 - ## the cache whenever a page (anywhere in the page hierarchy) is modified.
56 - #set ($discard = $services.async.useEntity("wiki:$xcontext.database"))
57 - #foreach ($inclusion in $config.getValue('inclusions'))
58 - #set ($documentReference = $services.model.resolveDocument($inclusion))
59 - ## Dynamic exclusion filters target only top level pages and thus inclusions, which are treated as exceptions to
60 - ## those filters, should target also top level pages.
61 - #set ($discard = $exclusions.remove("space:$services.model.serialize($documentReference.lastSpaceReference,
62 - 'local')"))
63 - #end
64 -#end
65 -## Other page exclusions.
66 -#foreach ($exclusion in $config.getValue('exclusions'))
67 - #set ($exclusionReference = $services.model.resolveDocument($exclusion))
68 - #if ($exclusionReference.name == $defaultDocumentName)
69 - #set ($exclusionReference = $exclusionReference.lastSpaceReference)
70 - #end
71 - #set ($discard = $exclusions.add($exclusionReference.type.lowerCase + ':'
72 - + $services.model.serialize($exclusionReference, 'local')))
73 -#end
74 -#set ($exclusions = $stringtool.join($exclusions, ','))
75 -{{documentTree showTranslations="false" showAttachments="false" compact="true" openTo="document:$openToDoc"
76 - exclusions="$exclusions" /}}
23 +To make the most out of your wiki, log-in and:
77 77  
78 -############
25 +Use the {{velocity}}$services.icon.render('pencil'){{/velocity}} button above to //edit// this page and start customizing your wiki to your needs.
79 79  
80 -#if($isGuest)
81 -#set($loginscherm = 'https://kennis.wardenburg.nl/login/XWiki/XWikiLogin')
82 -==**Inloggen**==
83 -Door in te loggen krijg je meer functies op de kennisbank.[[Log hier in op de wiki >>$loginscherm ||target="_blank"]] met je voornaam.achternaam (hetzelfde als je e-mail zonder het @wardenburg.nl gedeelte).
84 -#end
85 -#if(!$isGuest)
86 -(% class="nieuws" %)
87 -= **Nieuws** =
27 +Use the {{velocity}}$services.icon.render('add'){{/velocity}} button above to //add// more pages to your wiki and create the //hierarchy// that best organizes your content.
88 88  
89 -(% class="nieuwstabel" %)
29 +Use the {{velocity}}$services.icon.render('home'){{/velocity}} breadcrumbs located above the title to //navigate// inside your pages. It's easy to get lost in a big wiki without them.
30 +
31 +You can also use the [[Sandbox>>Sandbox.WebHome]] for more demo content and generally a place to experiment with your wiki's features.
32 +
33 + {{box}}Learn more on how to use XWiki with the {{velocity}}[[Getting Started Guide>>http://www.xwiki.org/xwiki/bin/view/Documentation/UserGuide/GettingStarted/WebHome?version=$xwiki.version]]{{/velocity}}.{{/box}}
34 +
35 +(% class="row" %)
90 90  (((
91 -{{blogpostlist blog="Nieuws.WebHome" limit="10" layout="cards" layoutParams="displayTitle=true|useSummary=true"/}}
37 +(% class="col-xs-12 col-sm-6" %)
38 +(((
39 += Extend your wiki =
40 +
41 +To extend the power and functionalities of your wiki with the features that //you// need, head over to the {{velocity}}[[Extension Manager>>path:$xwiki.getURL($services.model.createDocumentReference('wiki', 'XWiki', 'XWikiPreferences'), 'admin', 'editor=globaladmin&section=XWiki.Extensions')]]{{/velocity}} where you can search for and install extensions.
42 +
43 +To browse through the 900+ community contributed extensions available for XWiki, head over to the [[Extensions Repository>>http://extensions.xwiki.org]].
92 92  )))
93 -#end
94 -{{/velocity}}
95 95  
46 +(% class="col-xs-12 col-sm-6" %)
47 +(((
48 += Create your application =
96 96  
97 -[[Blabla>>doc:WebHome]]
50 +Go beyond the available extensions and define the //structure// of your data based on //your// needs, creating //your// own applications with [[App Within Minutes>>AppWithinMinutes]] (AWM).
98 98  
99 -
52 +AWM will take care of making it easy for you and your users to create and manage the data.
100 100  )))
101 -
102 -{{velocity}}
103 -#if (!$hasEdit)
104 - ## Verstop tabs
105 - #set($displayDocExtra = false)
106 - ## En de balken onderin
107 - #set ($displayShortcuts = false)
108 -#end
109 -{{/velocity}}
54 +)))
cheer.gif
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Jesse
Size
... ... @@ -1,1 +1,0 @@
1 -3.0 KB
Content
logo.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Jesse
Size
... ... @@ -1,1 +1,0 @@
1 -423.5 KB
Content
XWiki.XWikiRights[0]
allow
... ... @@ -1,1 +1,0 @@
1 -Allow
levels
... ... @@ -1,1 +1,0 @@
1 -view
users
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
XWiki.XWikiRights[1]
allow
... ... @@ -1,1 +1,0 @@
1 -Allow
groups
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiAdminGroup
levels
... ... @@ -1,1 +1,0 @@
1 -view
XWiki.XWikiRights[2]
allow
... ... @@ -1,1 +1,0 @@
1 -Allow
groups
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiAllGroup
levels
... ... @@ -1,1 +1,0 @@
1 -view
XWiki.XWikiRights[3]
allow
... ... @@ -1,1 +1,0 @@
1 -Deny
levels
... ... @@ -1,1 +1,0 @@
1 -comment,edit,delete
users
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiGuest
XWiki.XWikiRights[4]
allow
... ... @@ -1,1 +1,0 @@
1 -Allow
levels
... ... @@ -1,1 +1,0 @@
1 -view,comment,edit,script,delete
users
... ... @@ -1,1 +1,0 @@
1 -XWiki.Jesse
XWiki.XWikiRights[5]
allow
... ... @@ -1,1 +1,0 @@
1 -Allow
levels
... ... @@ -1,1 +1,0 @@
1 -view
users
... ... @@ -1,1 +1,0 @@
1 -XWiki.adminwb
XWiki.XWikiRights[7]
allow
... ... @@ -1,1 +1,0 @@
1 -Deny
groups
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiAllGroup
levels
... ... @@ -1,1 +1,0 @@
1 -comment,edit,delete
XWiki.XWikiRights[8]
allow
... ... @@ -1,1 +1,0 @@
1 -Deny
groups
... ... @@ -1,1 +1,0 @@
1 -XWiki.XWikiAdminGroup
levels
... ... @@ -1,1 +1,0 @@
1 -delete,comment,edit