<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://fbb.just4test.de/extern.php?action=feed&amp;tid=658&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / Einbindung von Piwik]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=658</link>
		<description><![CDATA[Die aktuellsten Beiträge in Einbindung von Piwik.]]></description>
		<lastBuildDate>Mon, 18 Apr 2011 06:20:57 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=6504#p6504</link>
			<description><![CDATA[<div class="quotebox"><cite>smurf schrieb:</cite><blockquote><div><p>Habe lediglich den Tiny Editor abgeschaltet und die Sachen ins HTML kopiert.</p></div></blockquote></div><p>Javascript NIE, NIE, NIE im TinyMCE eingeben - der Piwik Code (wie den Google Analytics Code auch) sollte besser direkt vor dem &lt;/body&gt;-Tag im Template eingegeben werden!</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Mon, 18 Apr 2011 06:20:57 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=6504#p6504</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=6503#p6503</link>
			<description><![CDATA[<p>Nur eine kurze Rückinfo. Ich habe das Modul nun am laufen. Habe lediglich den Tiny Editor abgeschaltet und die Sachen ins HTML kopiert.<br />Klappt wunderbar.<br />Vielen Dank für Eure Hilfe&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/big_smile.png" alt="big_smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (smurf)]]></author>
			<pubDate>Mon, 18 Apr 2011 05:57:38 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=6503#p6503</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5898#p5898</link>
			<description><![CDATA[<p>@nockenfell </p><p>Vielen Dank für Deine Mühe.<br />Ich werde die Ansätze mal verfolgen bzw. kontrollieren, woran das lokal liegen könnte.</p><p>Nochmals vielen Dank!</p><p>Gruß<br />smurf</p>]]></description>
			<author><![CDATA[dummy@example.com (smurf)]]></author>
			<pubDate>Tue, 05 Apr 2011 09:01:04 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5898#p5898</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5887#p5887</link>
			<description><![CDATA[<p>Die URL sollte ich noch haben&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/wink.png" alt="wink" /></p>]]></description>
			<author><![CDATA[dummy@example.com (nockenfell)]]></author>
			<pubDate>Tue, 05 Apr 2011 07:51:41 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5887#p5887</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5884#p5884</link>
			<description><![CDATA[<p>@nockenfell....Du hast post :-)</p>]]></description>
			<author><![CDATA[dummy@example.com (smurf)]]></author>
			<pubDate>Tue, 05 Apr 2011 07:21:40 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5884#p5884</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5880#p5880</link>
			<description><![CDATA[<div class="quotebox"><cite>cyberman schrieb:</cite><blockquote><div><p>Vielleicht möchtest du ja eine(m/r) hier mitlesenden die Zugangsdaten geben, damit dir besser geholfen werden kann <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/wink.png" alt="wink" /> ...</p></div></blockquote></div><p>Wenn du mir die Zugangsdaten schickst, schaue ich rein.</p>]]></description>
			<author><![CDATA[dummy@example.com (nockenfell)]]></author>
			<pubDate>Tue, 05 Apr 2011 07:03:15 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5880#p5880</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5879#p5879</link>
			<description><![CDATA[<p>Vielleicht möchtest du ja eine(m/r) hier mitlesenden die Zugangsdaten geben, damit dir besser geholfen werden kann <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/wink.png" alt="wink" /> ...</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Tue, 05 Apr 2011 07:01:35 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5879#p5879</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5876#p5876</link>
			<description><![CDATA[<p>@all..leider scheint der Fehler vor dem Rechner zu sitzen&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/wink.png" alt="wink" /> <br />Ich komme einfach nicht weiter...werde es die nächsten Tage noch einmal intensiver versuchen.<br />Vielen Dank schon mal an Alle, die helfen wollten</p><p>Gruß<br />smurf</p>]]></description>
			<author><![CDATA[dummy@example.com (smurf)]]></author>
			<pubDate>Tue, 05 Apr 2011 06:48:19 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5876#p5876</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5860#p5860</link>
			<description><![CDATA[<p>schon mal versucht, diese Teile:</p><div class="quotebox"><blockquote><div><p>// &lt;![CDATA[</p></div></blockquote></div><div class="quotebox"><blockquote><div><p>// ]]</p></div></blockquote></div><p> aus dem Script zu entfernen?</p><p>Tiny hat die Angewohnheit, dass beim Editieren von Quelltext und Rückschaltung in wysiwyg die Dinge immer reinzuschreiben.</p>]]></description>
			<author><![CDATA[dummy@example.com (owr_web)]]></author>
			<pubDate>Mon, 04 Apr 2011 16:33:55 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5860#p5860</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5857#p5857</link>
			<description><![CDATA[<p>Hallo noch einmal,<br />hat leider beides nicht geklappt. Trotz Version 1.9.4.1 hat meine Seite das nicht geschluckt. Das Template bleibt unberührt, jedoch wird die Ausgabe im Seitenquelltext ab von der Stelle try {... bis catch( err ) einfach nicht ausgegeben.<br />Schade, aber vielleicht steh ich ja auch im Wald :-)</p><p>Hat evtl noch einer eine Idee ??</p><p>Gruß<br />smurf</p>]]></description>
			<author><![CDATA[dummy@example.com (smurf)]]></author>
			<pubDate>Mon, 04 Apr 2011 15:00:08 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5857#p5857</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5849#p5849</link>
			<description><![CDATA[<p>@nockenfell... <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/smile.png" alt="smile" /> einfach mal so ?...werd das mal ausprobieren</p><p>@NaN ja, wenn ich das Template bearbeite steht alles wieder drin..nur online geht es nicht. Ich setze Version 1.9.4.1 ein .</p>]]></description>
			<author><![CDATA[dummy@example.com (smurf)]]></author>
			<pubDate>Mon, 04 Apr 2011 12:15:40 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5849#p5849</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5848#p5848</link>
			<description><![CDATA[<p>Und wenn Du das Template wieder bearbeitest, steht da noch alles komplett drin?</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Mon, 04 Apr 2011 12:12:24 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5848#p5848</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5847#p5847</link>
			<description><![CDATA[<p>Ich habe dazu mal ein Plugin geschrieben:</p><p>als &quot;function.piwik.php&quot; im Ordner ./plugins speichern.</p><p>Aufruf mit: {piwik page=&quot;piwikserver.domain.de&quot; piwikid=&quot;1&quot;}</p><div class="codebox"><pre class="vscroll"><code>&lt;?php

#Piwik Tracking
#(c)2010 by BlatterTech Informatik
#
#This program is free software; you can redistribute it and/or modify
#it under the terms of the GNU General Public License as published by
#the Free Software Foundation; either version 2 of the License, or
#(at your option) any later version.
#
#This program is distributed in the hope that it will be useful,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#GNU General Public License for more details.
#You should have received a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
#Author: BlatterTech Informatik


function smarty_cms_function_piwik($params, &amp;$smarty)
{
    global $gCms;
    if (!isset($params[&#039;page&#039;]))
        return &quot;&lt;p&gt;Piwik Plugin - the &#039;page&#039; param is emtpy&lt;/p&gt;&quot;;

    if (!isset($params[&#039;piwikid&#039;]))
        return &quot;&lt;p&gt;Piwik Plugin - the &#039;piwikid&#039; param is emtpy&lt;/p&gt;&quot;;

    $page = str_replace(&quot;http://&quot;,&quot;&quot;,$params[&#039;page&#039;]);
    $page = str_replace(&quot;https://&quot;,&quot;&quot;,$page);
    $page = $page.&quot;/&quot;;
    $piwikid = $params[&#039;piwikid&#039;];

    ?&gt;

    &lt;!-- Piwik --&gt;
    &lt;script type=&quot;text/javascript&quot;&gt;
        var pkBaseURL = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://&lt;?php echo $page; ?&gt;&quot; : &quot;http://&lt;?php echo $page; ?&gt;&quot;);
        document.write(unescape(&quot;%3Cscript src=&#039;&quot; + pkBaseURL + &quot;piwik.js&#039; type=&#039;text/javascript&#039;%3E%3C/script%3E&quot;));
    &lt;/script&gt;
    &lt;script type=&quot;text/javascript&quot;&gt;
        try {    var piwikTracker = Piwik.getTracker(pkBaseURL + &quot;piwik.php&quot;, &lt;?php echo $piwikid; ?&gt;);
                piwikTracker.trackPageView();
                piwikTracker.enableLinkTracking();
            }
            catch( err ) {}
    &lt;/script&gt;
    &lt;noscript&gt;&lt;p&gt;&lt;img src=&quot;http://&lt;?php echo $page; ?&gt;piwik.php?idsite=&lt;?php echo $piwikid; ?&gt;&quot; style=&quot;border:0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;&lt;/noscript&gt;
    &lt;!-- End Piwik Tag --&gt;
    &lt;?php
    return;
}

function smarty_cms_help_function_piwik()
{
?&gt;
    &lt;h3&gt;What does this do?&lt;/h3&gt;
    &lt;p&gt;Insert Tracking-Code for piwik&lt;/p&gt;
    &lt;h3&gt;How do I use it?&lt;/h3&gt;
    &lt;p&gt;Insert the follow tag in your template: &lt;code&gt;{piwik page=&quot;piwik.domain.com&quot; piwikid=&quot;1&quot;}&lt;/code&gt;&lt;br&gt;&lt;/p&gt;
    &lt;h3&gt;What parameters does it take?&lt;/h3&gt;

    &lt;ul&gt;
        &lt;li&gt;&lt;em&gt;(required)&lt;/em&gt;page - URL of the Piwik installation (whitout http://)&lt;/li&gt;
        &lt;li&gt;&lt;em&gt;(required)&lt;/em&gt;piwikid - Piwik Site ID.&lt;/li&gt;
    &lt;/ul&gt;

    &lt;?php
    }

    function smarty_cms_about_function_piwik() {
    ?&gt;
    &lt;p&gt;Author: BlatterTech Informatik &amp;lt;info@blattertech.ch&amp;gt; &lt;/p&gt;
        &lt;p&gt;Version: 0.1 initial release&lt;/p&gt;
        &lt;p&gt;    Change History:&lt;br/&gt;
        &lt;p&gt;Version: 0.1 - initial release&lt;/p&gt;
  &lt;?php
  }
  ?&gt;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (nockenfell)]]></author>
			<pubDate>Mon, 04 Apr 2011 12:10:16 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5847#p5847</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5843#p5843</link>
			<description><![CDATA[<p>Hab gerade mal deinen Dummy-Code komplett in eine 1.9.4.1 eingetragen ... Code wird komplett ausgegeben.</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Mon, 04 Apr 2011 11:58:44 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5843#p5843</guid>
		</item>
		<item>
			<title><![CDATA[Re: Einbindung von Piwik]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5840#p5840</link>
			<description><![CDATA[<p>Also ich binde das Piwik vor dem letzen &lt;/body&gt; ein<br />Der Originaleintrag im Template sieht wie folgt aus:</p><p>{literal}&#160; &lt;!-- Piwik --&gt;<br />&lt;script type=&quot;text/javascript&quot;&gt;// &lt;![CDATA[<br />var pkBaseURL = ((&quot;https:&quot; == document.location.protocol) ? &quot;<a href="https://www.meineseite.de/piwik/" rel="nofollow">https://www.meineseite.de/piwik/</a>&quot; : &quot;<a href="http://www.meineseite.de/piwik/" rel="nofollow">http://www.meineseite.de/piwik/</a>&quot;);<br />document.write(unescape(&quot;%3Cscript src=&#039;&quot; + pkBaseURL + &quot;piwik.js&#039; type=&#039;text/javascript&#039;%3E%3C/script%3E&quot;));<br />// ]]&gt;&lt;/script&gt;<br />&lt;script type=&quot;text/javascript&quot;&gt;// &lt;![CDATA[<br />try {<br />var piwikTracker = Piwik.getTracker(pkBaseURL + &quot;piwik.php&quot;, 1);<br />piwikTracker.trackPageView();<br />piwikTracker.enableLinkTracking();<br />} catch( err ) {}<br />// ]]&gt;&lt;/script&gt;<br />&lt;noscript&gt;&lt;p&gt;&lt;img src=&quot;http://www.meineseite.de/piwik/piwik.php?idsite=1&quot; style=&quot;border:0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;&lt;/noscript&gt; &lt;!-- End Piwik Tracking Code --&gt; {/literal}</p><p>Im Web wird aber nur die Hälfte angezeigt:</p><p>&lt;!-- Piwik --&gt; <br />&lt;script type=&quot;text/javascript&quot;&gt; <br />var pkBaseURL = ((&quot;https:&quot; == document.location.protocol) ? &quot;<a href="https://www.meineseite.de/piwik/" rel="nofollow">https://www.meineseite.de/piwik/</a>&quot; : &quot;<a href="http://www.meineseite.de/piwik/" rel="nofollow">http://www.meineseite.de/piwik/</a>&quot;);<br />document.write(unescape(&quot;%3Cscript src=&#039;&quot; + pkBaseURL + &quot;piwik.js&#039; type=&#039;text/javascript&#039;%3E%3C/script%3E&quot;));<br />&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt; <br />try&#160; catch( err ) &lt;/script&gt;&lt;noscript&gt;&lt;p&gt;&lt;img src=&quot;http://www.meineseite.de/piwik/piwik.php?idsite=1&quot; style=&quot;border:0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;&lt;/noscript&gt; <br />&lt;!-- End Piwik Tracking Code --&gt; </p><p>Gruß<br />smurf</p>]]></description>
			<author><![CDATA[dummy@example.com (smurf)]]></author>
			<pubDate>Mon, 04 Apr 2011 11:49:14 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=5840#p5840</guid>
		</item>
	</channel>
</rss>
