<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : A few enhancements to plugins</title>
		<link>https://www.cotonti.com</link>
		<description>Останні повідомлення в темі</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Mon, 04 May 2026 20:19:10 -0000</pubDate>

		<item>
			<title>Brock</title>
			<description><![CDATA[Very interesting. Will be checking this out soon. Was quite a good idea.]]></description>
			<pubDate>Пт, 19 Гру 2008 06:00:32 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=628&d=0#post1792]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[See latest markitup plugin.]]></description>
			<pubDate>Пт, 19 Гру 2008 05:18:57 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=628&d=0#post1791]]></link>
		</item>
		<item>
			<title>esclkm</title>
			<description><![CDATA[Can you give your example plugin?]]></description>
			<pubDate>Пт, 19 Гру 2008 05:02:37 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=628&d=0#post1790]]></link>
		</item>
		<item>
			<title>Dayver</title>
			<description><![CDATA[I verify. It works perfectly. Now not must put at the root any different files]]></description>
			<pubDate>Пт, 19 Гру 2008 02:33:07 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=628&d=0#post1788]]></link>
		</item>
		<item>
			<title>esclkm</title>
			<description><![CDATA[i can say only wow.]]></description>
			<pubDate>Пт, 19 Гру 2008 01:53:44 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=628&d=0#post1787]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Done, added AJAX parts support for plugin. How to use them:<br />
[list=1]<br />
<li>Create a part of the plugin, e.g. my_plug.ajax.php (could be any other name as well).</li>
<li>Set its Hook=ajax.</li>
<li>Code it just as a normal plugin, keeping in mind that it has not called header.php and footer.php. You can also set HTTP headers there with header() function before you send any output.</li>
<li>Use it this way: plug.php?r=my_plug</li>
</ul>]]></description>
			<pubDate>Пт, 19 Гру 2008 01:47:35 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=628&d=0#post1786]]></link>
		</item>
		<item>
			<title>Lombi</title>
			<description><![CDATA[Sounds perfect. Executing these without header and footer would solve so many problems it hurts to think :)]]></description>
			<pubDate>Thu, 18 Гру 2008 19:43:56 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=628&d=0#post1776]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[In Seditio if you call plug.php?r=yourplug that would call a file from plugins/code/yourplug.php as a standalone without header/footer. I think we need to improve this to be used for AJAX-mode plugins.<br />
<br />
AJAX-mode parts of plugins are standalone, without header/footer, without some code in common.php. They should use hook &quot;ajax&quot; and be called this way: plug.php?r=yourplug which will call plugins/yourplug/yourplug.php.<br />
<br />
I also propose having multiple &quot;executable&quot; parts of the plugin. For example, if your plugin &quot;my_plugin&quot; contains a standalone part &quot;my_plugin.php&quot; you call it like plug.php?e=my_plugin. At the same time it contains a popup part &quot;my_plugin.popup.php&quot; which can be called like plug.php?o=my_plugin. And finally an AJAX part &quot;my_plugin.ajax.php&quot;. So, the name of the part also tells how it can be executed. Alternatively, there could be a parameter to choose a part of plugin when calling: plug.php?r=my_plugin&amp;p=ajax.<br />
<br />
What do you think?]]></description>
			<pubDate>Thu, 18 Гру 2008 17:44:52 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/ua/forums?m=posts&q=628&d=0#post1773]]></link>
		</item>
	</channel>
</rss>