Log inRegister
You are here: Main » SiteBottomBar

SiteBottomBar

Local version of bottombar component

This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Skyloom Wiki? Send feedback
Syndicate this site RSS

Styling required by bottom bar

This is from earlier version of NatSkin

%STARTSECTION{"styles"}%<!-- footer styles --><literal>
<style>
.foswikiGrid .foswikiCol1:first-child, .foswikiGrid .foswikiCol2:first-child, .foswikiGrid .foswikiCol3:first-child, .foswikiGrid .foswikiCol4:first-child, .foswikiGrid .foswikiCol5:first-child, .foswikiGrid .foswikiCol6:first-child, .foswikiGrid .foswikiCol7:first-child, .foswikiGrid .foswikiCol8:first-child, .foswikiGrid .foswikiCol9:first-child, .foswikiGrid .foswikiCol10:first-child, .foswikiGrid .foswikiCol11:first-child, .foswikiGrid .foswikiCol12:first-child {  
    margin-top: 0px !important;  
    margin-left: 0px !important;  
    border: 0px none !important;  
    padding-left: 0px !important;  
}  
.foswikiGrid .foswikiCol3 {  
    width: 30%;  
}  
.foswikiGrid .foswikiCol1, .foswikiGrid .foswikiCol2, .foswikiGrid .foswikiCol3, .foswikiGrid .foswikiCol4, .foswikiGrid .foswikiCol5, .foswikiGrid .foswikiCol6, .foswikiGrid .foswikiCol7, .foswikiGrid .foswikiCol8, .foswikiGrid .foswikiCol9, .foswikiGrid .foswikiCol10, .foswikiGrid .foswikiCol11 {  
    margin-left: 4%;  
}  
.foswikiCol1, .foswikiCol2, .foswikiCol3, .foswikiCol4, .foswikiCol5, .foswikiCol6, .foswikiCol7, .foswikiCol8, .foswikiCol9, .foswikiCol10, .foswikiCol11, .foswikiCol12 {  
    float: left;  
    height: 100%;  
    position: relative;  
}  
.flip-horizontal {  
    -moz-transform: scaleX(-1);  
    -webkit-transform: scaleX(-1);  
    -o-transform: scaleX(-1);  
    transform: scaleX(-1);  
    -ms-filter: fliph; /*IE*/  
    filter: fliph; /*IE*/  
}  
.flip-vertical {  
    -moz-transform: scaleY(-1);  
    -webkit-transform: scaleY(-1);  
    -o-transform: scaleY(-1);  
    transform: scaleY(-1);  
    -ms-filter: flipv; /*IE*/  
    filter: flipv; /*IE*/  
} 
</style><!-- /footer styles --></literal>
%ENDSECTION{"styles"}%

Piwiki Code

Re-Enabled because PiwikPlugin was creating problems.
%STARTSECTION{"piwik"}%
%ADDTOZONE{"script" topic="Main.SiteBottomBar" section="piwikjs" requires="JQUERYPLUGIN::FOSWIKI::PREFERENCES"}%<noscript><!-- Piwik Image Tracker-->
<img alt='' src='https://www.stats.skyloom.com/piwik.php?idsite=2&rec=1&action_name=%BASEWEB%.%BASETOPIC%' style='border: 0;' />
<!-- End Piwik --></noscript>%ENDSECTION{"piwik"}%

This is added to the head section.
%STARTSECTION{"piwikjs"}%<literal><!-- Piwik -->
<script type="text/javascript">
  var _paq = _paq || [];
  /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
  _paq.push(["setCookieDomain", "*.skyloom.com"]);
  _paq.push(["setDomains", ["*.skyloom.com","*.demo.skyloom.com","*.weather.skyloom.com","*.demo.skyloom.com","*.skyloom.com","*.weather.skyloom.com"]]);
  // you can set up to 5 custom variables for each visitor
  _paq.push(["setCustomVariable", 1, "WikiName", "%WIKINAME%", "visit"]);
  _paq.push(["setCustomVariable", 2, "action", "%SCRIPTNAME%", "page"]);
  _paq.push(['trackPageView']);
  _paq.push(['enableLinkTracking']);
  (function() {
    var u="https://www.stats.skyloom.com/";
    _paq.push(['setTrackerUrl', u+'piwik.php']);
    _paq.push(['setSiteId', '2']);
    var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
    g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
  })();
</script>
<!-- End Piwik Code --></literal>%ENDSECTION{"piwikjs"}%
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Skyloom Wiki? Send feedback
Syndicate this site RSS