From empty
To version 108.1
edited by Asbjørn Ulsberg
on 2018/02/21 12:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,0 +1,1 @@
1 +Home
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.XWikiGuest
1 +xwiki:XWiki.aul
Default language
... ... @@ -1,0 +1,1 @@
1 +en
Tags
... ... @@ -1,0 +1,1 @@
1 +px-custom-page
Content
... ... @@ -1,0 +1,3 @@
1 +== Service area ==
2 +
3 +{{ServiceArea ServiceAreaDescription="Vi har alt du trenger for å ta betalt online. Øk dine salgstall på respektive markeder og via alle typer av enheter. En leverandør, en betalingsløsning, ett grensesnitt - enklere enn det blir det ikke!" ServiceAreaName="ECommerce" ServiceAreaPage="Main.ECommerce.WebHome" ServiceAreaIcon="34_ikon_responsiv_design"}}{{/ServiceArea}}
XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,19 @@
1 +#xwikicontent table {
2 + margin: 0
3 +}
4 +
5 +#xwikicontent table td {
6 + border: 0;
7 + padding: 0;
8 + width: 50%;
9 +}
10 +
11 +#xwikicontent table td:first-of-type {
12 + padding-right: 25px;
13 +}
14 +
15 +.floatinginfobox iframe {
16 + border: 0;
17 + height: 169px;
18 + width: 100%;
19 +}
Content Type
... ... @@ -1,0 +1,1 @@
1 +CSS
Use this extension
... ... @@ -1,0 +1,1 @@
1 +currentPage
XWiki.StyleSheetExtension[1]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,5 @@
1 +#if(!$xcontext.userReference)
2 +#tmDrawerActivator {
3 + display:none;
4 +}
5 +#end
Content Type
... ... @@ -1,0 +1,1 @@
1 +CSS
Name
... ... @@ -1,0 +1,1 @@
1 +PayEx Stylesheet - Hide menu for anonymous
Parse content
... ... @@ -1,0 +1,1 @@
1 +Yes
Use this extension
... ... @@ -1,0 +1,1 @@
1 +always
XWiki.WikiMacroClass[0]
Macro code
... ... @@ -1,0 +1,14 @@
1 +{{velocity}}
2 +#set($serviceAreaPageURL = $xwiki.getURL($xcontext.macro.params.ServiceAreaPage))
3 +#set($serviceAreaIcon = $escapetool.xml($xcontext.macro.params.ServiceAreaIcon))
4 +{{html}}
5 +<div class="px-media-item">
6 + <img class="px-media-icon" src="/xwiki/skins/PayEx.XWiki.Skin/svg/${serviceAreaIcon}.svg"/>
7 + <div class="px-media-content">
8 + <a href="$serviceAreaPageURL"><h3 class="px-media-heading">$escapetool.xml($xcontext.macro.params.ServiceAreaName)</h3></a>
9 + <p class="px-media-paragraph">$escapetool.xml($xcontext.macro.params.ServiceAreaDescription)</p>
10 + <a href="$serviceAreaPageURL" class="px-media-link">Vis dokumentasjon</a>
11 + </div>
12 +</div>
13 +{{/html}}
14 +{{/velocity}}
Macro content type
... ... @@ -1,0 +1,1 @@
1 +No content
Default category
... ... @@ -1,0 +1,1 @@
1 +PayEx
Macro description
... ... @@ -1,0 +1,1 @@
1 +Create a list item for a service area. Intended for the front page.
Macro id
... ... @@ -1,0 +1,1 @@
1 +ServiceArea
Macro name
... ... @@ -1,0 +1,1 @@
1 +Service Area
Supports inline mode
... ... @@ -1,0 +1,1 @@
1 +Yes
Macro visibility
... ... @@ -1,0 +1,1 @@
1 +Current Wiki
XWiki.WikiMacroParameterClass[0]
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +Yes
Parameter name
... ... @@ -1,0 +1,1 @@
1 +ServiceAreaName
XWiki.WikiMacroParameterClass[1]
Parameter default value
... ... @@ -1,0 +1,1 @@
1 +ServiceAreaDescription
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +Yes
Parameter name
... ... @@ -1,0 +1,1 @@
1 +ServiceAreaDescription
XWiki.WikiMacroParameterClass[2]
Parameter default value
... ... @@ -1,0 +1,1 @@
1 +ServiceAreaPage
Parameter description
... ... @@ -1,0 +1,1 @@
1 +XWiki page
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +Yes
Parameter name
... ... @@ -1,0 +1,1 @@
1 +ServiceAreaPage
XWiki.WikiMacroParameterClass[3]
Parameter mandatory
... ... @@ -1,0 +1,1 @@
1 +No
Parameter name
... ... @@ -1,0 +1,1 @@
1 +ServiceAreaIcon