Changes for page Home

Last modified by Jip-jan Alunkel on January 26, 20:07

From version 3.2
edited by Jip-jan Alunkel
on March 09, 17:48
Change comment: Install extension [org.xwiki.platform:xwiki-platform-distribution-flavor-common/15.7]
To version 2.2
edited by Jip-jan Alunkel
on February 25, 13:13
Change comment: Deleted object

Summary

Details

Page properties
Content
... ... @@ -1,3 +1,17 @@
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}}
14 +
1 1  = Welcome to your wiki =
2 2  
3 3  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.
... ... @@ -8,16 +8,15 @@
8 8  
9 9  To make the most out of your wiki, log-in and:
10 10  
11 -Use the {{displayIcon name="pencil"/}} button above to //edit// this page and start customizing your wiki to your needs.
25 +Use the {{velocity}}$services.icon.render('pencil'){{/velocity}} button above to //edit// this page and start customizing your wiki to your needs.
12 12  
13 -Use the {{displayIcon name="add"/}} button above to //add// more pages to your wiki and create the //hierarchy// that best organizes your content.
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.
14 14  
15 -Use the {{displayIcon name="home"/}} breadcrumbs located above the title to //navigate// inside your pages. It's easy to get lost in a big wiki without them.
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.
16 16  
17 17  You can also use the [[Sandbox>>Sandbox.WebHome]] for more demo content and generally a place to experiment with your wiki's features.
18 18  
19 -(% class="box" %)
20 -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}}.
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}}
21 21  
22 22  (% class="row" %)
23 23  (((
XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,5 @@
1 +.floatinginfobox iframe {
2 + border: 0;
3 + height: 169px;
4 + width: 100%;
5 +}
Content Type
... ... @@ -1,0 +1,1 @@
1 +CSS
Use this extension
... ... @@ -1,0 +1,1 @@
1 +currentPage