Changes for page Home

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

From 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]
To version 120.2
edited by Jesse Veentjer
on 31-10-2022 12:31
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,54 +1,108 @@
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}}
1 +(% class="floatinginfobox wbrechts" %)
2 +(((
3 +(% class="wbrb" %)
4 +[[image:cheer.gif||data-xwiki-image-style-alignment="center"]]
14 14  
15 -= Welcome to your wiki =
6 +(% class="wbtoc" %)
7 +(((
8 + (% class="wbtocheader" %)Inhoud
16 16  
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.
10 +{{toc/}}
11 +)))
12 +)))
18 18  
19 -XWiki can be used as a knowledge base (support, documentation, sales, etc.), for collaborative workspaces or even as a complete intranet.
14 +(% class="wblinks" %)
15 +(((
16 += **Welkom op de WB Kennisbank** =
20 20  
21 -= The basics =
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.
22 22  
23 -To make the most out of your wiki, log-in and:
20 +{{documentTree showWikis="true" showSpaces="true" showTranslations="false" showAttachments="false" showChildDocuments="false"/}}
24 24  
25 -Use the {{velocity}}$services.icon.render('pencil'){{/velocity}} button above to //edit// this page and start customizing your wiki to your needs.
22 +{{velocity}}
23 +## Escape special characters in macro parameter values.
24 +#set ($openToDoc = $doc.documentReference.toString().replaceAll('([~"])', '~$1'))
25 +## Apply the configured page exclusions.
26 +#set ($config = $xwiki.getDocument('PanelsCode.NavigationConfiguration'))
27 +#set ($exclusions = $collectiontool.set)
28 +#set ($defaultDocumentName = $services.model.getEntityReference('DOCUMENT', 'default').name)
29 +## Exclude top level extension pages.
30 +#if ($config.getValue('excludeTopLevelExtensionPages') == 1)
31 + #set ($query = $services.query.hql('select space.name from XWikiSpace space where space.parent is null'))
32 + #set ($discard = $query.addFilter('hidden/space'))
33 + #foreach ($result in $query.execute())
34 + #set ($documentReference = $services.model.createDocumentReference($NULL, $result, $defaultDocumentName))
35 + #set ($installedExtensions = $services.extension.xar.getInstalledExtensions($documentReference))
36 + #if ($installedExtensions && $installedExtensions.size() > 0
37 + && !$services.extension.xar.isEditAllowed($documentReference))
38 + #set ($discard = $exclusions.add("space:$services.model.escape($result, 'SPACE')"))
39 + #end
40 + #end
41 +#end
42 +## Exclude top level application pages.
43 +#if ($config.getValue('excludeTopLevelApplicationPages') == 1)
44 + #set ($statement = 'select space.name '
45 + + 'from XWikiSpace as space, Document as doc, doc.object(AppWithinMinutes.LiveTableClass) as app '
46 + + 'where space.parent is null and doc.space = space.reference')
47 + #set ($query = $services.query.xwql($statement).addFilter('hidden/space'))
48 + #foreach ($result in $query.execute())
49 + #set ($discard = $exclusions.add("space:$services.model.escape($result, 'SPACE')"))
50 + #end
51 +#end
52 +## Inclusions are treated as exceptions to the dynamic exclusion filters.
53 +#if ($config.getValue('excludeTopLevelExtensionPages') == 1 || $config.getValue('excludeTopLevelApplicationPages') == 1)
54 + ## FIXME: This panel is cached and the cache is not invalidated by default when an extension is installed or
55 + ## uninstalled and neither when an application is created, deleted or renamed. Ideally we should invalidate the cache
56 + ## whenever a top level page is created or modified but we can't do this ATM so the next best thing is to invalidate
57 + ## the cache whenever a page (anywhere in the page hierarchy) is modified.
58 + #set ($discard = $services.async.useEntity("wiki:$xcontext.database"))
59 + #foreach ($inclusion in $config.getValue('inclusions'))
60 + #set ($documentReference = $services.model.resolveDocument($inclusion))
61 + ## Dynamic exclusion filters target only top level pages and thus inclusions, which are treated as exceptions to
62 + ## those filters, should target also top level pages.
63 + #set ($discard = $exclusions.remove("space:$services.model.serialize($documentReference.lastSpaceReference,
64 + 'local')"))
65 + #end
66 +#end
67 +## Other page exclusions.
68 +#foreach ($exclusion in $config.getValue('exclusions'))
69 + #set ($exclusionReference = $services.model.resolveDocument($exclusion))
70 + #if ($exclusionReference.name == $defaultDocumentName)
71 + #set ($exclusionReference = $exclusionReference.lastSpaceReference)
72 + #end
73 + #set ($discard = $exclusions.add($exclusionReference.type.lowerCase + ':'
74 + + $services.model.serialize($exclusionReference, 'local')))
75 +#end
76 +#set ($exclusions = $stringtool.join($exclusions, ','))
77 +{{documentTree showTranslations="false" showAttachments="false" compact="true" openTo="document:$openToDoc"
78 + exclusions="$exclusions" /}}
79 +{{/velocity}}
26 26  
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.
28 28  
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.
82 +{{velocity}}
83 +#if($isGuest)
84 +#set($loginscherm = 'https://kennis.wardenburg.nl/login/XWiki/XWikiLogin')
85 +==**Inloggen**==
86 +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).
87 +#end
88 +#if(!$isGuest)
89 +(% class="nieuws" %)
90 += **Nieuws** =
30 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" %)
92 +(% class="nieuwstabel" %)
36 36  (((
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]].
94 +{{blogpostlist blog="Nieuws.WebHome" limit="10" layout="cards" layoutParams="displayTitle=true|useSummary=true"/}}
44 44  )))
96 +#end
45 45  
46 -(% class="col-xs-12 col-sm-6" %)
47 -(((
48 -= Create your application =
49 -
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).
51 -
52 -AWM will take care of making it easy for you and your users to create and manage the data.
98 +{{/velocity}}
53 53  )))
54 -)))
100 +
101 +{{velocity}}
102 +#if (!$hasEdit)
103 + ## Verstop tabs
104 + #set($displayDocExtra = false)
105 + ## En de balken onderin
106 + #set ($displayShortcuts = false)
107 +#end
108 +{{/velocity}}
cheer.gif
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jesse
Size
... ... @@ -1,0 +1,1 @@
1 +3.0 KB
Content
logo.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jesse
Size
... ... @@ -1,0 +1,1 @@
1 +423.5 KB
Content
XWiki.XWikiRights[0]
allow
... ... @@ -1,0 +1,1 @@
1 +Allow
levels
... ... @@ -1,0 +1,1 @@
1 +view
users
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
XWiki.XWikiRights[1]
allow
... ... @@ -1,0 +1,1 @@
1 +Allow
groups
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiAdminGroup
levels
... ... @@ -1,0 +1,1 @@
1 +view
XWiki.XWikiRights[2]
allow
... ... @@ -1,0 +1,1 @@
1 +Allow
groups
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiAllGroup
levels
... ... @@ -1,0 +1,1 @@
1 +view
XWiki.XWikiRights[3]
allow
... ... @@ -1,0 +1,1 @@
1 +Deny
levels
... ... @@ -1,0 +1,1 @@
1 +comment,edit,delete
users
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiGuest
XWiki.XWikiRights[4]
allow
... ... @@ -1,0 +1,1 @@
1 +Allow
levels
... ... @@ -1,0 +1,1 @@
1 +view,comment,edit,script,delete
users
... ... @@ -1,0 +1,1 @@
1 +XWiki.Jesse
XWiki.XWikiRights[5]
allow
... ... @@ -1,0 +1,1 @@
1 +Allow
levels
... ... @@ -1,0 +1,1 @@
1 +view
users
... ... @@ -1,0 +1,1 @@
1 +XWiki.adminwb
XWiki.XWikiRights[7]
allow
... ... @@ -1,0 +1,1 @@
1 +Deny
groups
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiAllGroup
levels
... ... @@ -1,0 +1,1 @@
1 +comment,edit,delete
XWiki.XWikiRights[8]
allow
... ... @@ -1,0 +1,1 @@
1 +Deny
groups
... ... @@ -1,0 +1,1 @@
1 +XWiki.XWikiAdminGroup
levels
... ... @@ -1,0 +1,1 @@
1 +delete,comment,edit