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
template:m1 [2014-05-30 00:15] 173.210.148.116template:m1 [2023-06-17 18:43] (current) – screenshot Aleksandr
Line 5: Line 5:
 author        : EricH author        : EricH
 email         : ehowey@gmail.com email         : ehowey@gmail.com
-lastupdate_dt : 2014-5-29 +lastupdate    : 2014-05-29 
-compatible    : BinkyPonder_Stibbons+compatible    : 2013-12-08,2014-05-05
 depends       : depends       :
 conflicts     : # prefix templates by template: conflicts     : # prefix templates by template:
 similar       : similar       :
-screenshot_img: https://raw.githubusercontent.com/ehowey/m1/master/m1-ss.png 
 tags          : responsive, mobile, fixedheader, flat, clean, minimal tags          : responsive, mobile, fixedheader, flat, clean, minimal
  
Line 17: Line 16:
 sourcerepo    : https://github.com/ehowey/m1/ sourcerepo    : https://github.com/ehowey/m1/
 donationurl   : # eg. https://www.paypal.com/... donationurl   : # eg. https://www.paypal.com/...
 +
 +screenshot_img: https://raw.githubusercontent.com/alexwenzel/m1/master/m1-ss.png
 ---- ----
  
Line 35: Line 36:
 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 125:
  
   * 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.1401401700.txt.gz · Last modified: 2014-05-30 00:15 by 173.210.148.116

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