public function onAfterInit(&$controller)
    {
        if ($this->autoInclude() && $js = $this->getPiwik(false)) {
            Requirements::customScript($js, 'piwiktrackingcode');
        }
    }
public function onAfterInit(&$controller)
    {
        if ($this->autoInclude() && $js = $this->getPiwik(false)) {
            Requirements::customScript($js, 'piwiktrackingcode');
        }
    }
public function onAfterInit ( & $ controller ) { if ( $ this -> autoInclude ( ) && $ js = $ this -> getPiwik ( false ) ) { Requirements :: customScript ( $ js , 'piwiktrackingcode' ) ; } }
includes the piwik tracking code when ContentController initializes...
@todo: get it working ;)
includes the piwik tracking code when ContentController initializes ...