<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : New header on a plugin?</title>
		<link>https://www.cotonti.com</link>
		<description>Last topic posts</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Mon, 13 Apr 2026 00:54:25 -0000</pubDate>

		<item>
			<title>DemptD</title>
			<description><![CDATA[$location = 'Plugins'; in my plug.php<br />
<br />
Tried clearing cache didnt help.]]></description>
			<pubDate>Sat, 05 Sep 2009 22:59:08 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3278&d=0#post16820]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[its plugins or should be check your plug.php in root, the $location var should be &quot;Plugins&quot; which gets strtolower for the template name, that is possible if you had an old root file or something for it to be incorrect.]]></description>
			<pubDate>Sat, 05 Sep 2009 22:03:19 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3278&d=0#post16818]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[is it header.plugins.tpl or header.plug.tpl like it was in seditio?]]></description>
			<pubDate>Sat, 05 Sep 2009 21:46:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3278&d=0#post16817]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[Try clearing xtemplate cache?]]></description>
			<pubDate>Sat, 05 Sep 2009 20:22:03 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3278&d=0#post16815]]></link>
		</item>
		<item>
			<title>DemptD</title>
			<description><![CDATA[Nope because i tried both header.plugins.tpl, header.plugin.tpl and header.&quot;pluginname&quot;.tpl and it is in my skinfolder.]]></description>
			<pubDate>Sat, 05 Sep 2009 19:43:29 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3278&d=0#post16813]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[Thats strange because header.plugins.tpl should work with all versions of cotonti, Are you sure you didn't typo the file name?, also it is in your skin folder right not the plugin folder?]]></description>
			<pubDate>Sat, 05 Sep 2009 12:42:00 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3278&d=0#post16806]]></link>
		</item>
		<item>
			<title>DemptD</title>
			<description><![CDATA[I have tried both header.plugins.tpl, header.plugin.tpl and header.&quot;pluginname&quot;.tpl but nothing works.<br />
<br />
And i have set $cfg['enablecustomhf'] = TRUE;]]></description>
			<pubDate>Sat, 05 Sep 2009 10:11:54 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3278&d=0#post16802]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[Seditio had $cfg['enablecustomhf'] <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /> But with just that the most you can do is header.plugins.tpl<br />
<br />
You could hook it to modify the template that gets called, hook header.main<br />
<br />
and use <br />
<div class="highlight"><pre class="php">if($e == 'mypluginname')
{
	$location = 'plugins'.$e;
}</pre></div>
<br />
May need to do same for footer, I think we can add this as a feature, its minor and could be usefull.]]></description>
			<pubDate>Sat, 05 Sep 2009 08:29:09 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3278&d=0#post16796]]></link>
		</item>
		<item>
			<title>GHengeveld</title>
			<description><![CDATA[This is not supported by Seditio, so the documentation on Neocrome isn't relevant. In Cotonti there is a config option named $cfg['enablecustomhf']. If you set this to TRUE in config.php you can use a custom header and footer file for your plugin. I'm not sure, but creating a header.plugin.pluginname.tpl will likely do the trick.]]></description>
			<pubDate>Sat, 05 Sep 2009 01:16:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3278&d=0#post16785]]></link>
		</item>
		<item>
			<title>DemptD</title>
			<description><![CDATA[I would like a new header on a plugin... is it possible?<br />
<br />
<a href="http://neocrome.net/page.php?id=1326" rel="nofollow">http://neocrome.net/page.php?id=1326</a><br />
<br />
but it says nothing about header.tpl there.]]></description>
			<pubDate>Fri, 04 Sep 2009 22:12:16 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/forums?m=posts&q=3278&d=0#post16781]]></link>
		</item>
	</channel>
</rss>