<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Ajax part question</title>
		<link>https://www.cotonti.com</link>
		<description>Son konu mesajları</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sat, 11 Apr 2026 18:02:46 -0000</pubDate>

		<item>
			<title>tensh</title>
			<description><![CDATA[Thanks, I'll check that out.]]></description>
			<pubDate>Per, 30 Nis 2009 21:49:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=2667&d=0#post11930]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[Use echo directly, $plugin_body is useless in AJAX parts.]]></description>
			<pubDate>Per, 30 Nis 2009 21:11:20 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=2667&d=0#post11925]]></link>
		</item>
		<item>
			<title>tensh</title>
			<description><![CDATA[I must say that thinking up plugins for Cotonti is not fun. It's like being blind without any documentation. <br />
<br />
Now I'm trying to create an ajax part according to Trustmaster's tutorial. I want this to be a part of shopsystem plugin. I named it shopsystem.ajax.php. Here's the code:<br />
<br />
<pre class="code">&lt;?PHP
/* ====================
Cotonti - Website engine
&#091;BEGIN_SED&#093;
File=plugins/shopsystem/shopsystem.ajax.php
Version=3.5
Updated=05.03.2009
Type=standalone
Author=timi11 - cotonti.de
Description=Shopsystem for cotonti
&#091;END_SED&#093;

&#091;BEGIN_SED_EXTPLUGIN&#093;
Code=shopsystem
Part=ajax
File=shopsystem
Hooks=ajax
Tags=
Minlevel=0
Order=10
&#091;END_SED_EXTPLUGIN&#093;

==================== */
if (!defined('SED_CODE') || !defined('SED_PLUG')) { die('Wrong URL.'); }

$plugin_body = &quot;This is something.&lt;br /&gt;&quot;;
$plugin_body .= &quot;This is the second line...&lt;br /&gt;&quot;;
$plugin_body .= &quot;And this is the third.&quot;;

?&gt;</pre>
<br />
As you can see, it's freaking simple test, based also on neocrome's tutorial. I want to view it by the url:<br />
www.mysite.com/plug.php?r=shopsystem<br />
<br />
My question is: why am I getting blank page? Shouldn't it load properly without header nad footer?]]></description>
			<pubDate>Per, 30 Nis 2009 18:22:43 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=2667&d=0#post11921]]></link>
		</item>
	</channel>
</rss>