<?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=1278&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / [GELÖST] If-abfrage ob Datei (Bild) existiert]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=1278</link>
		<description><![CDATA[Die aktuellsten Beiträge in [GELÖST] If-abfrage ob Datei (Bild) existiert.]]></description>
		<lastBuildDate>Tue, 13 Sep 2011 22:30:59 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [GELÖST] If-abfrage ob Datei (Bild) existiert]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11256#p11256</link>
			<description><![CDATA[<p>wieder was gelernt <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/smile.png" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (mike-r)]]></author>
			<pubDate>Tue, 13 Sep 2011 22:30:59 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11256#p11256</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] If-abfrage ob Datei (Bild) existiert]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11255#p11255</link>
			<description><![CDATA[<p>Backticks (das obere Akzentzeichen neben Backspace) sind eigentlich keine richtigen Anführungszeichen aber werden manchmal als spezielle Variante verwendet, z.B. in SQL oder eben auch bei Smarty, um eingebettete Variablen richtig zu maskieren.</p>]]></description>
			<author><![CDATA[dummy@example.com (dc2)]]></author>
			<pubDate>Tue, 13 Sep 2011 22:16:44 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11255#p11255</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] If-abfrage ob Datei (Bild) existiert]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11254#p11254</link>
			<description><![CDATA[<p>Backticks? Du meinst die Anführungszeichen? Das is immer das Erste, wonach ich schaue, wenn ich irgendwo Code herkopiere.</p><p>Edit: lol, hätte ich wohl besser nicht schauen dürfen - der Code läuft so, hatte bei meinem Versuch die &quot;Backticks&quot; &quot;korrigiert&quot;.</p>]]></description>
			<author><![CDATA[dummy@example.com (mike-r)]]></author>
			<pubDate>Tue, 13 Sep 2011 22:14:27 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11254#p11254</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] If-abfrage ob Datei (Bild) existiert]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11253#p11253</link>
			<description><![CDATA[<p>Dann hast du möglicherweise die Backticks übersehen ohne die funzt es nicht.</p><p>Ausprobiert mit cmsms 1.9 die letzte und 1.10 die letzte.</p>]]></description>
			<author><![CDATA[dummy@example.com (piratos)]]></author>
			<pubDate>Tue, 13 Sep 2011 20:50:45 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11253#p11253</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] If-abfrage ob Datei (Bild) existiert]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11252#p11252</link>
			<description><![CDATA[<p>piratos&#039; Schnipsel gefällt mir egtl. besser, er tut nur leider nicht, NaNs Schnipsel tut mit folgender Modifikation:</p><div class="quotebox"><blockquote><div><p>{capture assign=&quot;image&quot;}uploads/images/{$page_alias}.jpg{/capture}<br />{if $image|file_exists}<br />&#160; &#160; &lt;img src=&quot;/<strong><span style="color: red">{</span></strong>$image<strong><span style="color: red">}</span></strong>&quot;<br />{/if}</p></div></blockquote></div><p>danke euch beiden!</p>]]></description>
			<author><![CDATA[dummy@example.com (mike-r)]]></author>
			<pubDate>Tue, 13 Sep 2011 20:31:35 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11252#p11252</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] If-abfrage ob Datei (Bild) existiert]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11251#p11251</link>
			<description><![CDATA[<p>Finde die capture Methode selber nicht toll. Hab nur nicht daran gedacht, dass man bestimmte PHP-Sprachkonstrukte auch direkt in Smarty einsetzen kann.</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Tue, 13 Sep 2011 19:59:55 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11251#p11251</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] If-abfrage ob Datei (Bild) existiert]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11249#p11249</link>
			<description><![CDATA[<p>Ich warne in dem Zusammenhang unnötige capture zu verwenden, denn jedes capture zieht sich über den Outputbuffer&#160; ein Minimum von 4096 Bytes rein und granuliert die Memory Strecke, macht man das in einer längeren Schleife kann es trotzt ausreichendem memory_limit eng werden.</p>]]></description>
			<author><![CDATA[dummy@example.com (piratos)]]></author>
			<pubDate>Tue, 13 Sep 2011 19:34:15 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11249#p11249</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] If-abfrage ob Datei (Bild) existiert]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11247#p11247</link>
			<description><![CDATA[<div class="codebox"><pre><code>[== Smarty ==]
{if is_file(&quot;uploads/images/`$page_alias`.jpg&quot;)}
halloo
{else}
nix da
{/if}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (piratos)]]></author>
			<pubDate>Tue, 13 Sep 2011 17:59:54 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11247#p11247</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] If-abfrage ob Datei (Bild) existiert]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11246#p11246</link>
			<description><![CDATA[<p>Probier mal das:</p><div class="codebox"><pre><code>{capture assign=&quot;image&quot;}uploads/images/{$page_alias}.jpg{/capture}
{if $image|file_exists}
    &lt;img src=&quot;/{$image}&quot; alt=&quot;&quot; /&gt;
{/if}</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Tue, 13 Sep 2011 17:46:48 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11246#p11246</guid>
		</item>
		<item>
			<title><![CDATA[[GELÖST] If-abfrage ob Datei (Bild) existiert]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11245#p11245</link>
			<description><![CDATA[<p>ich suche die Möglichkeit dynamisch abzufragen, ob ein Bild existiert oder nicht.<br />Konkret möchte ich page-alias-abhängig Grafiken einbinden, etwa so:</p><div class="codebox"><pre><code>&lt;img src=&quot;/uploads/images/{$page_alias}.jpg&quot; alt=&quot;&quot; /&gt;</code></pre></div><p>Wenn das Bild bananen.jpg nicht exisitert soll nichts gemacht werden.</p><p>Geht sowas? Stelle ich mir etwas schwierig vor, da in der DB bspw. keine Infos über die Grafiken stehen.<br />Irgendwelche Ideen dazu? (mittels CSS wäre ja einfach, aber das kann ich in dem Falle nicht verwenden)</p>]]></description>
			<author><![CDATA[dummy@example.com (mike-r)]]></author>
			<pubDate>Tue, 13 Sep 2011 17:25:07 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=11245#p11245</guid>
		</item>
	</channel>
</rss>
