DokuWiki

It's better when it's simple

User Tools

Site Tools


template:m1

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
template:m1 [2014-05-31 01:24] 173.210.148.116template: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:** Which has all of the basic php and html and includes the other necessary files in it.  This is the framework for the template\\ **main.php:** Which has all of the basic php and html and includes the other necessary files in it.  This is the framework for the template\\
 +
 +==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:
 +
 +<code><!-- ********** GOOGLE ANALYTICS ********** -->
 + <script type="text/javascript">
 +  var _gaq = _gaq || [];
 +  _gaq.push(['_setAccount', 'UA-16741284-1']);
 +  _gaq.push(['_setDomainName', 'paddlingabc.com']);
 +  _gaq.push(['_trackPageview']);
 +  (function() {
 +    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
 +    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
 +    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
 +  })();
 + </script>
 +</code>
 +
 **m1-header.php:**  This contains the html for the fixed header and for the tablet/desktop menus\\ **m1-header.php:**  This contains the html for the fixed header and for the tablet/desktop menus\\
 **m1-mobilemenu.php:**  This file contains the left and right slide panel menus that display when viewed on smaller screen sizes\\ **m1-mobilemenu.php:**  This file contains the left and right slide panel menus that display when viewed on smaller screen sizes\\
Line 106: Line 124:
  
   * http://www.paddlingabc.com/ -- This is a heavily modified version of the template, I built the template specifically for this site   * http://www.paddlingabc.com/ -- This is a heavily modified version of the template, I built the template specifically for this site
 +
 +===== 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't play nice with my (basic) installation of dokuwiki.
template/m1.txt · Last modified: 2023-06-17 18:43 by Aleksandr

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki