<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : [Help] Craigslist</title>
		<link>https://www.cotonti.com</link>
		<description>Laatste forum onderwerpen</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sat, 18 Apr 2026 07:00:50 -0000</pubDate>

		<item>
			<title>ven7ura</title>
			<description><![CDATA[Yup I understand now! thanks a bunch!]]></description>
			<pubDate>Thu, 14 Okt 2010 03:21:28 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=5962&d=0#post26640]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[Depends on what you're trying to achieve. Usually you would use only one instance of XTemplate per plugin file. So if your plugin exists of multiple parts/pages, each with its own template file, its best to put each part in a separate file and include the file in your pluginname.php. Here's an example:<br />
<br />
<a href="https://www.cotonti.com/datas/users/pluginstructure_big_68.png"><img src="https://www.cotonti.com/datas/users/pluginstructure_big_68.png" alt="" class="scale" /></a><br />
<br />
The courses.php file only contains a switch() statement which decides what file to include from the 'inc' folder. The files in 'inc' contain code similar to what you posted above.<br />
<br />
There's no use in looking to download this plugin, it's something I built for a client, so it's private.]]></description>
			<pubDate>Thu, 14 Okt 2010 01:27:30 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=5962&d=0#post26636]]></link>
		</item>
		<item>
			<title>ven7ura</title>
			<description><![CDATA[Thank you Koradhil!<br />
<br />
I remember reading that article a long time ago, but since I never wanted to have different tpls I guess I didn't care.<br />
<br />
I have to:<br />
<div class="highlight"><pre class="php">
$tpl1 = new XTemplate(sed_skinfile('pluginname', true));
Make some TAGS
$tpl1-&gt;parse('MAIN');
$tpl1-&gt;out('MAIN');

$tpl2 = new XTemplate(sed_skinfile('pluginname.second', true));
Make some TAGS
$tpl2-&gt;parse('SECOND');
$tpl2-&gt;out('SECOND');

and so on
</pre></div>
<br />
This all goes in plugin.php, right? (just making sure <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /> )]]></description>
			<pubDate>Thu, 14 Okt 2010 01:02:27 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=5962&d=0#post26635]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[I'm not sure about the search thing, I haven't been involved with that yet.<br />
As for the plugin templates, you should have a look at <a href="http://www.cotonti.com/docs/en/plugins/xtemplate">this article</a>.]]></description>
			<pubDate>Wo, 13 Okt 2010 16:47:40 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=5962&d=0#post26627]]></link>
		</item>
		<item>
			<title>ven7ura</title>
			<description><![CDATA[Hello all!<br />
<br />
I want to create a craigslist type plugin, but I have some stuff that I would like some help with. Here are some of the issues that I think will stop me from finishing this work:<br />
<br />
<ol>
1. How can I include the plugin with search. Any pointers on where to look would be great.<br />
2. I would like to have different TPLs on the plugin, I have yet to see a example on any of the plugin code that are here on Cotonti. I looked at the shopsystem plugin and it has an $output variable with the html (for example when you want to add an item), but I would like to have different TPLs so that editing in the future is more flexible.<br />
</ol>
<br />
These are only some of the issues that come to my mind. If I have more I will post them up <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /><br />
<br />
I plan on releasing it here once its finished.<br />
<br />
Thanks in advance!]]></description>
			<pubDate>Wo, 13 Okt 2010 13:24:26 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=5962&d=0#post26621]]></link>
		</item>
	</channel>
</rss>