Changes for page 1 Module

Last modified by Mora Zhou on 2025/04/01 15:07

From version 3.1
edited by Leo Wei
on 2022/06/09 15:48
Change comment: There is no comment for this version
To version 2.2
edited by Leo Wei
on 2022/06/08 14:42
Change comment: Update document after refactoring.

Summary

Details

XWiki.JavaScriptExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,16 @@
1 +document.observe('xwiki:dom:loaded', function() {
2 + // Add Global site tag (gtag.js) - Google Analytics
3 + var script = document.createElement('script');
4 + script.type='text/javascript';
5 + script.src='https://www.googletagmanager.com/gtag/js?id=G-6CMNLY7S1X';
6 + script.async = true;
7 + document.head.appendChild(script);
8 +
9 + window.dataLayer = window.dataLayer || [];
10 + function gtag() {
11 + dataLayer.push(arguments);
12 + }
13 + gtag('js', new Date());
14 +
15 + gtag('config', 'G-6CMNLY7S1X');
16 +});
Name
... ... @@ -1,0 +1,1 @@
1 +Google Analytics
XWiki.StyleSheetExtension[0]
Caching policy
... ... @@ -1,0 +1,1 @@
1 +long
Code
... ... @@ -1,0 +1,10 @@
1 +.main th, .main td, .wiki-table th, .wiki-table td {
2 + border: 1px solid #E8E8E8;
3 + padding: 8px 8px;
4 +}
5 +
6 +th {
7 + background-color: #F3F3F3;
8 + font-weight: 700;
9 +}
10 +
Name
... ... @@ -1,0 +1,1 @@
1 +table
Use this extension
... ... @@ -1,0 +1,1 @@
1 +always