<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : section banners</title>
		<link>https://www.cotonti.com</link>
		<description>Laatste forum onderwerpen</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Tue, 02 Jun 2026 04:28:32 -0000</pubDate>

		<item>
			<title>Draeghonov</title>
			<description><![CDATA[Thanks again Kort <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /><br />
<br />
I have given it some thought,and just tried a n00bish thing: look at my current css:<br />
<br />
<pre class="code">#slogan		{ width:981px; height:154px; }
#slogan h2	{ display:none; }

#alogan		{ width:981px; height:154px; }
#alogan h2	{ display:none; }

.s-admin	{ background:url(img/bann/administration.jpg) no-repeat 0 0; }
.s-forums	{ background:url(img/bann/forums.jpg) no-repeat 0 0; }
.s-index	{ background:url(img/bann/index.jpg) no-repeat 0 0; }
.s-message	{ background:url(img/blueish/slogan-message-en.png) no-repeat 0 0; }
.s-page		{ background:url(img/bann/downloads.jpg) no-repeat 0 0; }
.s-list		{ background:url(img/bann/downloads.jpg) no-repeat 0 0; }
.a-videos	{ background:url(img/bann/videos.jpg) no-repeat 0 0; }
.a-tutorial	{ background:url(img/bann/tutorials.jpg) no-repeat 0 0; }
.s-pfs		{ background:url(img/blueish/slogan-pfs-en.png) no-repeat 0 0; }
.s-polls	{ background:url(img/blueish/slogan-polls-en.png) no-repeat 0 0; }
.s-pm		{ background:url(img/blueish/slogan-pm-en.png) no-repeat 0 0; }
.s-plug		{ background:url(img/bann/plugins.jpg) no-repeat 0 0; }
.s-users	{ background:url(img/bann/users.jpg) no-repeat 0 0; }</pre>
<br />
Before I did this, the downloads, videos and tutorials pages had the same banner; not anymore <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/grin.gif" alt=":D" /> <br />
<br />
This is how I have implemented it in header.tpl:<br />
<br />
<pre class="code">&lt;div id=&quot;slogan&quot; class=&quot;s-{PHP.z}&quot;&gt;&lt;div id=&quot;alogan&quot; class=&quot;a-{PHP.c}&quot;&gt;&lt;/div&gt;</pre>
Yes, VERY n00bish indeed, but this works <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /><br />
Now all I have to do is expand on this, to see what can be done to show sub-sections and the different plugins, like top last seen and quickstats etc <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /><br /><br /><b>Added 3 hours 13 minutes later:</b><br /><br />Ok, just a tuny question:<br />
<br />
{PHP.z}--&gt;sections<br />
{PHP.c}--&gt;page category<br />
{PHP.?}--&gt;plugin category<br />
What letter should the &quot;?&quot; be? <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" />]]></description>
			<pubDate>Vr, 16 Okt 2009 23:19:38 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3387&d=0#post17914]]></link>
		</item>
		<item>
			<title>Kort</title>
			<description><![CDATA[<strong>Draeghonov:</strong> I used {PHP.z} in the Cryo skin for a simple imitation of a banner rotate plugin. Nothing more. This way I got myself section-specific &quot;banners&quot; without enforcing testers to install a 3rd-party plugin. If you want to have page-category-dependent banners, you should go for {PHP.c} in the list.tpl or whatever you have. Basically, css-or-plugin choice depends on how complicated you want things to be. With your requirements however I would recommend that you use a plugin.]]></description>
			<pubDate>Vr, 16 Okt 2009 13:27:37 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3387&d=0#post17874]]></link>
		</item>
		<item>
			<title>Draeghonov</title>
			<description><![CDATA[WOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOT!!!!!!!!!!!!! <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/inlove.gif" alt=":-X" />  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/inlove.gif" alt=":-X" />  <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/inlove.gif" alt=":-X" /> <br />
<br />
Thanks everyone that posted in this topic!!!!<br />
And Thank You, Kort, for providing the solution!!!<br />
This is awesome!<br />
<br />
I really wanted to give my website a new impuls, and the section banners was 1 way of getting the result I was longing for.<br />
<br />
Thanks to this solution, I can host another &quot;competition&quot; on my website, to get the creative work flowing!<br />
This is awesome, THANKS!!!!!!!!!!!!!!!!!!!!!!!!!!!!!<br />
<br />
<strong>Added 2 hours 24 minutes later:</strong><br />
<br />
Just a hopefully tiny expansion:<br />
<br />
On the testsite: <a href="http://lanos.la.funpic.de" rel="nofollow">http://lanos.la.funpic.de</a> you can see Kort's help in action.<br />
It all works great, but I have a question:<br />
<br />
As you can see, we have a downloads button. When clicked, you see the downloads banner. That page has two sections. Whenever one of the sections is clicked, the banner still remains the downloads banner.<br />
Same goes for the videos and tutorial banners.<br />
This is how it looks in css:<br />
<br />
<pre class="code">.s-admin	{ background:url(img/bann/administration.jpg) no-repeat 0 0; }
.s-forums	{ background:url(img/bann/forums.jpg) no-repeat 0 0; }
.s-index	{ background:url(img/bann/index.jpg) no-repeat 0 0; }
.s-message	{ background:url(img/blueish/slogan-message-en.png) no-repeat 0 0; }
.s-page		{ background:url(img/bann/downloads.jpg) no-repeat 0 0; }
.s-list.php?c=downloads		{ background:url(img/bann/downloads.jpg) no-repeat 0 0; }
.s-list.php?c=videos		{ background:url(img/bann/videos.jpg) no-repeat 0 0; }
.s-list.php?c=tutorial		{ background:url(img/bann/tutorials.jpg) no-repeat 0 0; }
.s-pfs		{ background:url(img/blueish/slogan-pfs-en.png) no-repeat 0 0; }
.s-polls	{ background:url(img/blueish/slogan-polls-en.png) no-repeat 0 0; }
.s-pm		{ background:url(img/blueish/slogan-pm-en.png) no-repeat 0 0; }
.s-plug		{ background:url(img/bann/plugins.jpg) no-repeat 0 0; }
.s-plug.php?e=toplastseen		{ background:url(img/bann/tls.jpg) no-repeat 0 0; }
.s-users	{ background:url(img/bann/users.jpg) no-repeat 0 0; }</pre>
<br />
Somehow, adding the categories doesn't seem to work.<br />
Is it possible to make it work?]]></description>
			<pubDate>Vr, 16 Okt 2009 01:37:08 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3387&d=0#post17857]]></link>
		</item>
		<item>
			<title>Kort</title>
			<description><![CDATA[I used<pre class="code">	&lt;div id=&quot;slogan&quot; class=&quot;s-{PHP.z}&quot;&gt;
		&lt;h2&gt;
			{PHP.cfg.subtitle}
		&lt;/h2&gt;
	&lt;/div&gt;</pre>in the Cryo skin to display section-specific &quot;banners&quot;. In the .css file use<pre class="code">.s-admin	{ background:url(img/blueish/slogan-admin-en.png) no-repeat 0 0; }
.s-forums	{ background:url(img/blueish/slogan-forums-en.png) no-repeat 0 0; }
.s-index	{ background:url(img/blueish/slogan-index-en.png) no-repeat 0 0; }
.s-message	{ background:url(img/blueish/slogan-message-en.png) no-repeat 0 0; }
.s-page		{ background:url(img/blueish/slogan-page-en.png) no-repeat 0 0; }
.s-pfs		{ background:url(img/blueish/slogan-pfs-en.png) no-repeat 0 0; }
.s-polls	{ background:url(img/blueish/slogan-polls-en.png) no-repeat 0 0; }
.s-pm		{ background:url(img/blueish/slogan-pm-en.png) no-repeat 0 0; }
.s-plug		{ background:url(img/blueish/slogan-plug-en.png) no-repeat 0 0; }
.s-users	{ background:url(img/blueish/slogan-users-en.png) no-repeat 0 0; }</pre>or whatever fits your skin.<br />
This way you can bypass custom header/footer thing]]></description>
			<pubDate>Thu, 15 Okt 2009 17:04:35 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3387&d=0#post17829]]></link>
		</item>
		<item>
			<title>pieter</title>
			<description><![CDATA[For the index page, it should be header.home.tpl<br />
For admin it is header.administration.tpl<br />
<br />
Try it only with one before changing it for all.<br />
Try nit with a copy of header.tpl without changing anything.<br />
If that works try with the changes.]]></description>
			<pubDate>Thu, 15 Okt 2009 16:17:22 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3387&d=0#post17825]]></link>
		</item>
		<item>
			<title>Draeghonov</title>
			<description><![CDATA[Thanks Kilandor <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /><br />
I will try this!<br /><br /><b>Added 16 hours 10 minutes later:</b><br /><br />Hmm...<br />
In config.php I have set the value.<br />
But: I have tried header.location.php, but to be honest, I have no clue as to what code should be in there...<br />
I have tried header.location.tpl:<br />
I have given the for example, the header.index.tpl the image source for the index banner.<br />
BUT: When I look in the header.tpl, it says this in the file:<br />
<br />
<pre class="code">    &lt;td colspan=&quot;3&quot;&gt;&lt;a href=https://www.cotonti.com/&quot;index.php&quot;&gt;&lt;img src=&quot;skins/{PHP.skin}/img/main/banner2.gif&quot; alt=&quot;&quot; /&gt;&lt;/a&gt;&lt;/td&gt;</pre>
<br />
So now my question is:<br />
What is the code needed for let's say: header.index.tpl, and how do I activate it in the header.tpl?<br />
<br />
thanks in advance, Dave <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /><br /><br /><b>Added 5 hours 22 minutes later:</b><br /><br />aaaaaaaaaaaargh!!!<br />
I give up...<br />
<br />
I have made the change in config.php,<br />
I have made different header tpl files; each having its own banner...<br />
I get a blanc page: fatal error: default skin not found...]]></description>
			<pubDate>Wo, 14 Okt 2009 07:00:12 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3387&d=0#post17781]]></link>
		</item>
		<item>
			<title>Kilandor</title>
			<description><![CDATA[enable $cfg['customhf'] in config.php, and use header.location.php this can be gotten from the main php files such as admin.php index.php etc]]></description>
			<pubDate>Wo, 14 Okt 2009 06:05:42 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3387&d=0#post17777]]></link>
		</item>
		<item>
			<title>Draeghonov</title>
			<description><![CDATA[Hey guys,<br />
sorry if this is a repost of some sort, but I could not find it anywhere...<br />
<br />
This is what I am looking for:<br />
Way back, in the days of LDU, there was a way (plugin?) thet enabled different banners for different sections.<br />
The index had one banner, the forums had their own banner, administartion had it's banner etc.<br />
I am NOT talking about the banner rotate plugin; that changes the site banner when the page is refreshed, while I'm looking for a way to get each section it's own banner.<br />
<br />
Any help would be great <img class="aux smiley" src="https://www.cotonti.com/./images/smilies/smile.gif" alt=":)" /><br />
reg, Dave]]></description>
			<pubDate>Wo, 14 Okt 2009 04:55:15 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=3387&d=0#post17776]]></link>
		</item>
	</channel>
</rss>