<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Handling error when WordPress plugin functions are not available</title>
	<atom:link href="http://orangescale.net/log/2007/06/handling-error-when-wordpress-plugin-functions-are-not-available/feed/" rel="self" type="application/rss+xml" />
	<link>http://orangescale.net/log/2007/06/handling-error-when-wordpress-plugin-functions-are-not-available/</link>
	<description>Personal journal of Thomas Arie Setiawan</description>
	<lastBuildDate>Tue, 07 Sep 2010 19:21:11 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: rama</title>
		<link>http://orangescale.net/log/2007/06/handling-error-when-wordpress-plugin-functions-are-not-available/#comment-2362</link>
		<dc:creator>rama</dc:creator>
		<pubDate>Sat, 16 Jun 2007 02:42:51 +0000</pubDate>
		<guid isPermaLink="false">http://local.orangescale.net/cms/log/2007/06/09/handling-error-when-wordpress-plugin-functions-are-not-available/#comment-2362</guid>
		<description>You right Ari, sometime we busy in design new layout for our  template and decide to upgrade our &quot;engine&quot; to new one,but we forget to active our pluggin again. This conditional will help us.Thx
</description>
		<content:encoded><![CDATA[<p>You right Ari, sometime we busy in design new layout for our  template and decide to upgrade our &#8220;engine&#8221; to new one,but we forget to active our pluggin again. This conditional will help us.Thx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Thomas Arie</title>
		<link>http://orangescale.net/log/2007/06/handling-error-when-wordpress-plugin-functions-are-not-available/#comment-2361</link>
		<dc:creator>Thomas Arie</dc:creator>
		<pubDate>Sat, 09 Jun 2007 10:07:05 +0000</pubDate>
		<guid isPermaLink="false">http://local.orangescale.net/cms/log/2007/06/09/handling-error-when-wordpress-plugin-functions-are-not-available/#comment-2361</guid>
		<description>Well, actually, it does not have to be WordPress to have that if arguments. My example only shows the output IF the function exists, then the plugin displayed.

Of course, we can put else there. But, since in this case we do not need to show the &quot;else&quot;, I do not display the message.

WordPress, Textpattern or even Movable Type have this structure. if you can have &lt;txp:else /&gt; in Textpattern, you can use  &lt;MTElse /&gt; in MT. In WordPress, just use &lt;?php } else { ?&gt; and &lt;? } ?&gt;
</description>
		<content:encoded><![CDATA[<p>Well, actually, it does not have to be WordPress to have that if arguments. My example only shows the output IF the function exists, then the plugin displayed.</p>
<p>Of course, we can put else there. But, since in this case we do not need to show the &#8220;else&#8221;, I do not display the message.</p>
<p>WordPress, Textpattern or even Movable Type have this structure. if you can have &lt;txp:else /&gt; in Textpattern, you can use  &lt;MTElse /&gt; in MT. In WordPress, just use &lt;?php } else { ?&gt; and &lt;? } ?&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kus</title>
		<link>http://orangescale.net/log/2007/06/handling-error-when-wordpress-plugin-functions-are-not-available/#comment-2360</link>
		<dc:creator>kus</dc:creator>
		<pubDate>Sat, 09 Jun 2007 09:42:07 +0000</pubDate>
		<guid isPermaLink="false">http://local.orangescale.net/cms/log/2007/06/09/handling-error-when-wordpress-plugin-functions-are-not-available/#comment-2360</guid>
		<description>yeah , conditional tag can solve that problem, but I think WP had poor conditional tag feature.

Look , you can write conditional tag &lt;i&gt;if plugins/ functions exist&lt;/i&gt; but you have not option to show something like error message or author announce that was related with plugins.

In TxP , we had conditional tags too, But with superb Improvisation and rich feature.

like :

&lt;txp:if_plugin name=&quot;cbs_gravatar&quot; ver=&quot;0.4&gt; &lt;i&gt;// trying search plugins... exist or not ..&lt;/i&gt;
&lt;txp:cbs_gravatar /&gt; &lt;i&gt;// if exist , perform this tag ...&lt;/i&gt;
&lt;txp:else /&gt; &lt;i&gt;// if not ...&lt;/i&gt;
&lt;p&gt;A message will iluminate if plugin cbs_gravatar is&#039;nt exist &lt;i&gt;// excecute this tag or text&lt;/i&gt;
&lt;/txp:if_plugin&gt; &lt;i&gt;// end of tag.&lt;/i&gt;

So .... Textish ...
</description>
		<content:encoded><![CDATA[<p>yeah , conditional tag can solve that problem, but I think WP had poor conditional tag feature.</p>
<p>Look , you can write conditional tag <i>if plugins/ functions exist</i> but you have not option to show something like error message or author announce that was related with plugins.</p>
<p>In TxP , we had conditional tags too, But with superb Improvisation and rich feature.</p>
<p>like :</p>
<p>&#60;txp:if_plugin name=&#8221;cbs_gravatar&#8221; ver=&#8221;0.4> <i>// trying search plugins&#8230; exist or not ..</i><br />
&#60;txp:cbs_gravatar /> <i>// if exist , perform this tag &#8230;</i><br />
&#60;txp:else /> <i>// if not &#8230;</i><br />
&#60;p>A message will iluminate if plugin cbs_gravatar is&#8217;nt exist <i>// excecute this tag or text</i><br />
&#60;/txp:if_plugin> <i>// end of tag.</i></p>
<p>So &#8230;. Textish &#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>
