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 revisionBoth sides next revision
template:m1 [2014-05-31 01:24] 173.210.148.116template:m1 [2016-01-19 15:07] – [Customizing the Template] 178.10.140.157
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\\
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