<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Correction to Documentation</title>
		<link>https://www.cotonti.com</link>
		<description>Neueste Themenbeiträge</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Sat, 11 Apr 2026 23:49:51 -0000</pubDate>

		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>It's been superseded by $out['subtitle'] which is used no matter if you use $plugin_body or not.</p>
]]></description>
			<pubDate>Fr, 26 Apr 2013 06:57:24 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=7413&d=0#post37413]]></link>
		</item>
		<item>
			<title>Hodges</title>
			<description><![CDATA[<p><span style="color:rgb(68,68,68);font-family:sans-serif;">From </span><a href="http://www.cotonti.com/page/xtemplate_programming">http://www.cotonti.com/page/xtemplate_programming</a>:</p>

<p><span style="color:rgb(68,68,68);font-family:sans-serif;">"...you can still use the classic way for standalone plugins. You do this by using the variables $plugin_title, $plugin_subtitle and $plugin_body. These are assigned automatically to the tags {PLUGIN_TITLE}, {PLUGIN_SUBTITLE} and {PLUGIN_BODY}. In this case, you don’t need to create your own template file (and you can omit the tpl directory). Cotonti will use the skin’s plugin.tpl instead."</span></p>

<p>This is incorrect. The variable <strong><span style="color:rgb(68,68,68);font-family:sans-serif;">$plugin_title</span></strong><span style="color:rgb(68,68,68);font-family:sans-serif;"> no longer exists. Instead, system/plugin.php looks like this:</span></p>

<pre class="brush:php;">
			'PLUGIN_TITLE' =&gt; cot_breadcrumbs($pltitle, $cfg['homebreadcrumb']),
			'PLUGIN_SUBTITLE' =&gt; $plugin_subtitle,
			'PLUGIN_BODY' =&gt; $plugin_body</pre>

<p>So how, without our own tpl file, do we set {PLUGIN_TITLE} with a custom string (aside from $L['plu_title'] stored in the plugin language file)?</p>
<p><strong>Added 24 minutes later:</strong></p><p>I realise the answer is you probably can't. And that the real solution is to just implement custom tpl for the plugin (which, I know, is simple to do).</p>

<p>Regardless, the documentation needs updating.</p>
]]></description>
			<pubDate>Do, 25 Apr 2013 17:31:59 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/de/forums?m=posts&q=7413&d=0#post37412]]></link>
		</item>
	</channel>
</rss>