<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Include a template inside another include</title>
		<link>https://www.cotonti.com</link>
		<description>Son konu mesajları</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Wed, 08 Apr 2026 13:14:54 -0000</pubDate>

		<item>
			<title>tensh</title>
			<description><![CDATA[I think it's not neccessary. <br />
I have just solved it by just defining a new template in the wrapper function with a filename dependant on subfunction params.]]></description>
			<pubDate>Per, 29 Nis 2010 20:18:39 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5573&d=0#post24381]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[The way FILE works is really simple, so it doesn't look for FILEs within the included FILE. I can make it support nested FILEs for the price of a bit of perfromance (as always).]]></description>
			<pubDate>Çrş, 28 Nis 2010 22:54:11 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5573&d=0#post24372]]></link>
		</item>
		<item>
			<title>tensh</title>
			<description><![CDATA[Hi;<br />
<br />
I can easily include one template file:<br />
<br />
<pre class="code">{FILE &quot;plugins/myplug/functions/tpl/master.tpl&quot;}</pre>
<br />
But what if the contents of this file are like this:<br />
<br />
<pre class="code">&lt;!-- IF {FUNIDTXT} == &quot;myfunction&quot; --&gt; 
{FILE &quot;plugins/myplug/functions/tpl/myfunction.tpl&quot;} 
&lt;!-- ENDIF --&gt;  </pre>
<br />
It looks like the IF statement is interpreted, but instead including another file, the text {FILE &quot;plugins/myplug/functions/tpl/myfunction.tpl&quot;} is returned.<br />
<br />
Is inability to nest template inclusion an expected thing?<br />
I just want to make something like a &quot;subplugin&quot; thing, which generates the master tpl depending on the functions in the system (database).]]></description>
			<pubDate>Çrş, 28 Nis 2010 19:34:10 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/tr/forums?m=posts&q=5573&d=0#post24371]]></link>
		</item>
	</channel>
</rss>