<?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=2602&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / Smarty Variablenübergabe bei Wert "0"]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=2602</link>
		<description><![CDATA[Die aktuellsten Beiträge in Smarty Variablenübergabe bei Wert "0".]]></description>
		<lastBuildDate>Fri, 19 Oct 2012 10:56:54 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21556#p21556</link>
			<description><![CDATA[<p>Ich versteh die Welt nicht mehr. Heute funktionierts ...</p><p>Ich danke euch allen für die Hilfe!</p><p>Servus,<br />Alex</p>]]></description>
			<author><![CDATA[dummy@example.com (faglork)]]></author>
			<pubDate>Fri, 19 Oct 2012 10:56:54 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21556#p21556</guid>
		</item>
		<item>
			<title><![CDATA[Re: Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21552#p21552</link>
			<description><![CDATA[<p>Also auch das funzt einwandfrei:</p><div class="codebox"><pre><code>[== PHP ==]
&lt;?php
function smarty_function_simplePiWik($params, &amp;$smarty)
{
	print_r($params);
$siteid =&quot;1&quot;;
if ($params[&#039;siteid&#039;]) $siteid = $params[&#039;siteid&#039;];
if (isset ($params[&#039;count&#039;])) $count = $params[&#039;count&#039;];

echo &quot;COUNT $count&quot;;
if (isset ($count)) {
echo &quot; COUNT2 Anzeige  $count&quot;;
}
}
?&gt;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (czarnowski)]]></author>
			<pubDate>Fri, 19 Oct 2012 09:04:15 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21552#p21552</guid>
		</item>
		<item>
			<title><![CDATA[Re: Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21551#p21551</link>
			<description><![CDATA[<p>Also ich habe das mal im Suchtemplate eingesetzt:</p><div class="codebox"><pre><code>[== smarty ==]
&lt;h3&gt;{$searchresultsfor} &amp;quot;{$phrase}&amp;quot;&lt;/h3&gt;
{assign var=&quot;searchCount&quot; value=$itemcount}
{if $itemcount &gt; 0}
&lt;ul&gt;
  {foreach from=$results item=entry}
  &lt;li&gt;{$entry-&gt;title} - &lt;a href=&quot;{$entry-&gt;url}&quot;&gt;{$entry-&gt;urltxt}&lt;/a&gt; ({$entry-&gt;weight}%)&lt;/li&gt;
  {* 
     You can also instantiate custom behaviour on a module by module basis by looking at
     the $entry-&gt;module and $entry-&gt;modulerecord fields in $entry 
      ie: {if $entry-&gt;module == &#039;News&#039;}{News action=&#039;detail&#039; article_id=$entry-&gt;modulerecord detailpage=&#039;News&#039;} 
  *}
  {/foreach}
&lt;/ul&gt;

&lt;p&gt;{$timetaken}: {$timetook}&lt;/p&gt;
{else}
  &lt;p&gt;&lt;strong&gt;{$noresultsfound}&lt;/strong&gt;&lt;/p&gt;
{/if}
{$searchCount}
{simplePiWik siteid=&quot;2&quot; count=$searchCount}</code></pre></div><p>Das Plugin mal so nachgebildet:</p><div class="codebox"><pre><code>[== PHP ==]
&lt;?php
function smarty_function_simplePiWik($params, &amp;$smarty)
{
	print_r($params);
}
?&gt;</code></pre></div><br /><p>Ausgaben bei 0 Treffer</p><p>Array ( [siteid] =&gt; 2 [count] =&gt; 0)</p><p>wenn ich am Anfang das mache:</p><p>{$itemcount=null}&#160; - also eine echte null einsetze</p><p>dann kommt das:</p><p>Array ( [siteid] =&gt; 2 [count] =&gt; )</p><p>Mit anderen Worten die Parameterübergabe funktioniert einwandfrei.</p><p>Jedoch ist die Parameterauswertung selbst ungewöhnlich für Smartyplugins.</p><p>Man macht das z.B. so</p><p>$print = (isset($params[&#039;print&#039;])) ? (bool)$params[&#039;print&#039;] : true;</p><p>d.h. hier bekommt $print auf jeden Fall einen Wert.</p><p>Bei dir ist&#160; $count im Zweifelsfalle überhaupt nicht vorhanden.</p><p>f (isset ($params[&#039;count&#039;])) $count = $params[&#039;count&#039;];<br />if ($count ==&quot;nada&quot;) {<br />&#160; &#160; $count=&quot;0&quot;;<br />}</p><p>if ($count ==&quot;nada&quot;)&#160; führt zu einem E_STRICT Fehler wenn $count nicht gesetzt ist.</p>]]></description>
			<author><![CDATA[dummy@example.com (czarnowski)]]></author>
			<pubDate>Fri, 19 Oct 2012 08:43:33 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21551#p21551</guid>
		</item>
		<item>
			<title><![CDATA[Re: Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21535#p21535</link>
			<description><![CDATA[<div class="quotebox"><cite>czarnowski schrieb:</cite><blockquote><div><p>Nun die erneute Zuweisung mit einem Default erledigt das Problem wenn man nicht weiss ob ein Wert NULL ist oder 0.</p></div></blockquote></div><div class="quotebox"><cite>czarnowski schrieb:</cite><blockquote><div><p>Hätte man die&#160; erneute Zuweisung probiert, dann wüsste man das der Bock im Plugin liegt.</p></div></blockquote></div><p>Verstehe ich nicht, sorry. Wo ist der Unterschied zwischen</p><p>{$meintext=$meintext|default:&#039;0&#039;}</p><p>und der testhalber expliziten Zuweisung</p><p>{$meintext=&#039;0&#039;}</p><p>? Das funzt ja auch nicht.</p><div class="quotebox"><cite>czarnowski schrieb:</cite><blockquote><div><p>Ich sehe eher wie NaN das Problem das der Wert im Plugin bei der Parameterauswertung&#160; gecancelt wird.</p></div></blockquote></div><div class="quotebox"><cite>czarnowski schrieb:</cite><blockquote><div><p>Mit isset erhält man ja true wenn der Wert &lt;&gt; NULL ist UND existiert .<br />Da du ein FALSE bekommst, das Suchmodule aber definitiv eine 0 oder &gt; 0 und keine NULL ausgibt kann der Wert nur in dem Bereich Pluginkopf und isset Prüfung flöten gegangen sein.</p></div></blockquote></div><p>Reingeholt in das Plugin wird mit</p><p>if ($params[&#039;count&#039;]) $count = $params[&#039;count&#039;]; (FYI: if isset ändert auch nix ...)</p><p>geprüft wird mit </p><p>if (isset ($count)) <br />(was FALSE ist wenn die &quot;0&quot; übergeben wurde und nur TRUE wird wenn $count explizit wieder auf &quot;0&quot; gestzt wird.)</p><p>Wo soll da was &quot;flöten&quot; gehen? Es betrifft ja auch nur die &quot;0&quot;.<br />Das würde ja bedeuten, dass $count = $params[&#039;count&#039;] im Fall der &quot;0&quot; gleichbdeutend wäre mit einem unset ...</p><p>Um das nochmal klar zu machen: Wenn die &quot;0&quot; an das Plugin übergeben wird passiert folgendes:</p><p>if (isset ($params[&#039;count&#039;])) ist TRUE</p><p>nach $count = $params[&#039;count&#039;] aber:</p><p>if (isset ($count)) ist FALSE</p><p>Brat mir doch einer nen Storch!</p><p>hier ist noch mal der komplette code des plugins:</p><div class="codebox"><pre class="vscroll"><code>function smarty_cms_function_simplePiwik($params, &amp;$smarty)
{
$siteid =&quot;1&quot;;
if ($params[&#039;siteid&#039;]) $siteid = $params[&#039;siteid&#039;];
if (isset ($params[&#039;count&#039;])) $count = $params[&#039;count&#039;];
if ($count ==&quot;nada&quot;) {
	$count=&quot;0&quot;;
}
if (isset ($count)) {
echo &lt;&lt;&lt;EOT
&lt;script type=&quot;text/javascript&quot;&gt;
var pkBaseURL = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://stats.faktori.de/piwik/&quot; : &quot;http://stats.faktori.de/piwik/&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;, $siteid);
piwikTracker.setCustomUrl(document.URL + &#039;&amp;search_count=&#039; + $count);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
&lt;/script&gt;&lt;noscript&gt;&lt;p&gt;&lt;img src=&quot;http://stats.faktori.de/piwik/piwik.php?idsite=$siteid&quot; style=&quot;border:0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;&lt;/noscript&gt;
EOT;
} else {

echo &lt;&lt;&lt;EOT
&lt;script type=&quot;text/javascript&quot;&gt;
var pkBaseURL = ((&quot;https:&quot; == document.location.protocol) ? &quot;https://stats.faktori.de/piwik/&quot; : &quot;http://stats.faktori.de/piwik/&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;, $siteid);
piwikTracker.trackPageView();
piwikTracker.enableLinkTracking();
} catch( err ) {}
&lt;/script&gt;&lt;noscript&gt;&lt;p&gt;&lt;img src=&quot;http://stats.faktori.de/piwik/piwik.php?idsite=$siteid&quot; style=&quot;border:0&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;&lt;/noscript&gt;
EOT;
}
}</code></pre></div><p>Servus,<br />Alex</p>]]></description>
			<author><![CDATA[dummy@example.com (faglork)]]></author>
			<pubDate>Thu, 18 Oct 2012 20:08:45 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21535#p21535</guid>
		</item>
		<item>
			<title><![CDATA[Re: Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21532#p21532</link>
			<description><![CDATA[<p>Nun die erneute Zuweisung mit einem Default erledigt das Problem wenn man nicht weiss ob ein Wert NULL ist oder 0.</p><p>Ich sehe eher wie NaN das Problem das der Wert im Plugin bei der Parameterauswertung&#160; gecancelt wird.</p><p>Mit isset erhält man ja true wenn der Wert &lt;&gt; NULL ist UND existiert .<br />Da du ein FALSE bekommst, das Suchmodule aber definitiv eine 0 oder &gt; 0 und keine NULL ausgibt kann der Wert nur in dem Bereich Pluginkopf und isset Prüfung flöten gegangen sein.</p><p>Hätte man die&#160; erneute Zuweisung probiert, dann wüsste man das der Bock im Plugin liegt.</p>]]></description>
			<author><![CDATA[dummy@example.com (czarnowski)]]></author>
			<pubDate>Thu, 18 Oct 2012 18:34:39 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21532#p21532</guid>
		</item>
		<item>
			<title><![CDATA[Re: Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21526#p21526</link>
			<description><![CDATA[<p>Hab gerade mal ins Such-Modul geschaut. Der Wert sollte in jedem Fall wenigstens den Integer-Wert 0 enthalten. Warum das bei der Übergabe an das Plugin verloren geht, kann ich noch nicht genau sagen. Was passiert denn, wenn Du Dir mal die übergebenen Parameter im Plugin mit print_r($params); ausgibst?</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Thu, 18 Oct 2012 18:07:25 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21526#p21526</guid>
		</item>
		<item>
			<title><![CDATA[Re: Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21519#p21519</link>
			<description><![CDATA[<div class="quotebox"><cite>czarnowski schrieb:</cite><blockquote><div><p>Unter Smarty 3 kann man sich das assign gedöns schenken:</p><p>Nullwerte kann man ganz einfach abfangen indem man eine erneute Zuweisung macht mit einem Defaultwert:</p></div></blockquote></div><p>Siehe oben. Auch das geht am Problem vorbei. </p><p>Nochmal: Das Problem ist die <strong>Übergabe</strong> an das Plugin. Ich gehe mal davon aus, dass das Search-Modul bei erfolgloser Suche als Anzahl (&quot;$itemcount&quot;) eine &quot;0&quot; ausgibt. Sonst würde ja auch der Vergleich &quot;if $itemcount &gt; 0&quot; nicht funktionieren, oder seh ich das falsch?</p><p>Servus,<br />Alex</p>]]></description>
			<author><![CDATA[dummy@example.com (faglork)]]></author>
			<pubDate>Thu, 18 Oct 2012 16:42:38 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21519#p21519</guid>
		</item>
		<item>
			<title><![CDATA[Re: Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21518#p21518</link>
			<description><![CDATA[<div class="quotebox"><cite>cyberman schrieb:</cite><blockquote><div><p>Und Gott sprach: &quot; Es werde Licht ...&quot;&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/big_smile.png" alt="big_smile" /> </p><p><a href="http://www.smarty.net/docs/en/language.modifier.default.tpl" rel="nofollow">http://www.smarty.net/docs/en/language. … efault.tpl</a></p></div></blockquote></div><p>Nix mit Licht ;-)</p><p>default nützt hier nix weil die Variable ja *in jedem Fall* überschrieben wird durch die Anzahl der Suchergebnisse ...</p><p>Das Problem ist ja auch nicht die initiale Zuweisung der Variablen, sondern die <strong>Übergabe</strong> an das Plugin. Die Variable kommt nicht als &quot;0&quot; an.</p><div class="quotebox"><cite>cyberman schrieb:</cite><blockquote><div><div class="quotebox"><cite>faglork schrieb:</cite><blockquote><div><p>Das übergebe ich an eine weitere Variable:<br />{assign var=&quot;searchCount&quot; value=$itemcount}</p><p>Damit rufe ich ein Plugin auf:<br />{simplePiwik siteid=&quot;2&quot; count=&quot;$searchCount&quot;}</p></div></blockquote></div><p>Konsequenterweise würde ich dies aber mit</p><div class="codebox"><pre><code>{simplePiwik siteid=&quot;2&quot; count=$searchCount}</code></pre></div><p>machen ...</p></div></blockquote></div><p>Das ändert auch nix.</p><p>Servus,<br />Alex</p>]]></description>
			<author><![CDATA[dummy@example.com (faglork)]]></author>
			<pubDate>Thu, 18 Oct 2012 16:34:43 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21518#p21518</guid>
		</item>
		<item>
			<title><![CDATA[Re: Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21517#p21517</link>
			<description><![CDATA[<div class="quotebox"><cite>NaN schrieb:</cite><blockquote><div><p>Mit diversen Anführungszeichen hast Du bestimmt auch schon gespielt?</p><p>{assign var=&quot;searchCount&quot; value=<strong><span style="color: #ff0000">&quot;</span></strong>$itemcount<strong><span style="color: #ff0000">&quot;</span></strong>}</p></div></blockquote></div><p>Das ändert nix.</p><div class="quotebox"><cite>NaN schrieb:</cite><blockquote><div><p>Ist $itemcount denn tatsächlich &quot;0&quot; ?</p></div></blockquote></div><p>Nun, es ist die Anzahl der gefundenen Suchergebnisse. In der mitgelieferten Template des Search-Moduls wird &quot;if $itemcount &gt; 0&quot; verwendet, also muss es doch 0 sein, oder nicht?</p><div class="quotebox"><cite>NaN schrieb:</cite><blockquote><div><p>Du könntest mit einem Modifikator auch sicherstellen, dass, sollte $itemcount <em>nüscht</em> sein, es als Zahl übergeben wird:</p><p>{simplePiwik siteid=&quot;2&quot; count=$searchCount|@intval}</p></div></blockquote></div><p>count=$searchCount|@intval&#160; ergibt keine Änderung. Erstaunlicherweise ergibt count=&quot;$searchCount|@intval&quot; als Ergebnis &quot;0|@intval&quot; ... $searchCount wird also korrekt als &quot;0&quot; übertragen, aber das |@intval hängt mit dran ...</p><div class="quotebox"><cite>NaN schrieb:</cite><blockquote><div><p>Ein solches Verhalten ist mir sonst noch nicht untergekommen.</p></div></blockquote></div><p>Tja, was es nicht alles gibt ;-)</p><p>Servus und Danke für die Tipps! (Gilt natürlich für alle!)<br />Alex</p>]]></description>
			<author><![CDATA[dummy@example.com (faglork)]]></author>
			<pubDate>Thu, 18 Oct 2012 16:30:11 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21517#p21517</guid>
		</item>
		<item>
			<title><![CDATA[Re: Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21505#p21505</link>
			<description><![CDATA[<p>Unter Smarty 3 kann man sich das assign gedöns schenken:</p><p>Nullwerte kann man ganz einfach abfangen indem man eine erneute Zuweisung macht mit einem Defaultwert:</p><p>{$meintext=null}</p><p>{$meintext=$meintext|default:&#039;Tralala&#039;}</p><p>{$meintext}</p><p>{$meintext=1}</p><p>{$meintext=$meintext|default:&#039;Nanu sollte 1 sein&#039;}</p><p>{$meintext}</p>]]></description>
			<author><![CDATA[dummy@example.com (czarnowski)]]></author>
			<pubDate>Thu, 18 Oct 2012 12:46:34 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21505#p21505</guid>
		</item>
		<item>
			<title><![CDATA[Re: Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21502#p21502</link>
			<description><![CDATA[<p>Und Gott sprach: &quot; Es werde Licht ...&quot;&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/big_smile.png" alt="big_smile" /> </p><p><a href="http://www.smarty.net/docs/en/language.modifier.default.tpl" rel="nofollow">http://www.smarty.net/docs/en/language. … efault.tpl</a></p><div class="quotebox"><cite>faglork schrieb:</cite><blockquote><div><p>Das übergebe ich an eine weitere Variable:<br />{assign var=&quot;searchCount&quot; value=$itemcount}</p><p>Damit rufe ich ein Plugin auf:<br />{simplePiwik siteid=&quot;2&quot; count=&quot;$searchCount&quot;}</p></div></blockquote></div><p>Konsequenterweise würde ich dies aber mit</p><div class="codebox"><pre><code>{simplePiwik siteid=&quot;2&quot; count=$searchCount}</code></pre></div><p>machen ...</p>]]></description>
			<author><![CDATA[dummy@example.com (cyberman)]]></author>
			<pubDate>Thu, 18 Oct 2012 12:12:27 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21502#p21502</guid>
		</item>
		<item>
			<title><![CDATA[Re: Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21501#p21501</link>
			<description><![CDATA[<p>Mit diversen Anführungszeichen hast Du bestimmt auch schon gespielt?</p><p>{assign var=&quot;searchCount&quot; value=<strong><span style="color: #ff0000">&quot;</span></strong>$itemcount<strong><span style="color: #ff0000">&quot;</span></strong>}</p><p>Wenn count bei Deinem Plugin zwingend nötig ist, dann würde ich nicht erst mit isset prüfen, sondern einfach auf $params[&#039;count&#039;] zugreifen. Ist schließlich Dein Plugin, und Du wirst wissen was Du damit machst.</p><p>Wenn Du aber auf Nummer sicher gehen und es evtl. veröffentlichen willst, dann kannst Du es anstelle von isset() auch mal mit if(array_key_exists(&#039;count&#039;, $params)) versuchen.</p><p>Ist $itemcount denn tatsächlich &quot;0&quot; ?<br />Du könntest mit einem Modifikator auch sicherstellen, dass, sollte $itemcount <em>nüscht</em> sein, es als Zahl übergeben wird:</p><p>{simplePiwik siteid=&quot;2&quot; count=$searchCount|@intval}</p><p>Ein solches Verhalten ist mir sonst noch nicht untergekommen.</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Thu, 18 Oct 2012 12:09:59 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21501#p21501</guid>
		</item>
		<item>
			<title><![CDATA[Smarty Variablenübergabe bei Wert "0"]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21500#p21500</link>
			<description><![CDATA[<p>Moin!</p><p>Folgendes Problem:</p><p>Wenn das Search-Modul nichts findet, ist $itemcount &quot;0&quot;</p><p>Das übergebe ich an eine weitere Variable:<br />{assign var=&quot;searchCount&quot; value=$itemcount}</p><p>Damit rufe ich ein Plugin auf:<br />{simplePiwik siteid=&quot;2&quot; count=&quot;$searchCount&quot;}</p><p>Das Problem: Wenn $searchCount &quot;0&quot; ist dann wird das offenbar als &quot;null&quot; bzw. &quot;nicht gesetzt&quot; übermittelt, denn ein ISSET im genannten Plugin ergibt FALSE.</p><p>Ich verwende einen grauenvollen veryquick&amp;VERYDIRTY hack indem ich <br />$searchCount == &quot;nada&quot; <br />setze wenn $itemcount = &quot;0&quot; ist ... das dann übergebe und im Plugin dann rückwärts wieder in &quot;0&quot; wandle.</p><p>Das kanns doch nicht sein ... ich habe zu dieser Problematik allerdings bisher nix gefunden. Oder ich bin schlicht zu doof danach zu suchen ...</p><p>kann mich mal bitte jemand erleuchten?<br />Servus,<br />Alex</p>]]></description>
			<author><![CDATA[dummy@example.com (faglork)]]></author>
			<pubDate>Thu, 18 Oct 2012 11:52:07 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=21500#p21500</guid>
		</item>
	</channel>
</rss>
