template:m1
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
template:m1 [2014-05-31 01:24] – 173.210.148.116 | template:m1 [2017-02-08 15:54] – Caution! This template messes up your standard dokuwiki template. 94.208.147.253 | ||
---|---|---|---|
Line 35: | Line 35: | ||
Within the template itself there are a few main .php files to pay attention to:\\ | Within the template itself there are a few main .php files to pay attention to:\\ | ||
**main.php: | **main.php: | ||
+ | |||
+ | ==Google Analytics== | ||
+ | There is a Google-Analytics-Script in main.php. If you don't want it: You can remove it by deleting the script under the comment-line completely: | ||
+ | |||
+ | < | ||
+ | <script type=" | ||
+ | var _gaq = _gaq || []; | ||
+ | _gaq.push([' | ||
+ | _gaq.push([' | ||
+ | _gaq.push([' | ||
+ | (function() { | ||
+ | var ga = document.createElement(' | ||
+ | ga.src = (' | ||
+ | var s = document.getElementsByTagName(' | ||
+ | })(); | ||
+ | </ | ||
+ | </ | ||
+ | |||
**m1-header.php: | **m1-header.php: | ||
**m1-mobilemenu.php: | **m1-mobilemenu.php: | ||
Line 106: | Line 124: | ||
* http:// | * http:// | ||
+ | |||
+ | ===== Caution ===== | ||
+ | I tried this template 20170208. This template wasn't for me, so I decided to go back to the starter template. But now the standard template was messed up... | ||
+ | |||
+ | It turned out //this// template messed with a file (local.php) in /conf. Restoring that file from a recent backup restored my starter template. | ||
+ | |||
+ | I am not a techie, but it seems this template doesn' |
template/m1.txt · Last modified: 2023-06-17 18:43 by Aleksandr