<?xml version='1.0' encoding='UTF-8'?>
<rss version='2.0'>
	<channel>
		<title>cotonti.com : Colour Schemes</title>
		<link>https://www.cotonti.com</link>
		<description>Laatste forum onderwerpen</description>
		<generator>Cotonti</generator>
		<language>en</language>
		<pubDate>Mon, 13 Apr 2026 16:43:26 -0000</pubDate>

		<item>
			<title>Hodges</title>
			<description><![CDATA[<p>Works a treat.</p>

<p>Is there nothing this man cannot solve?! :)</p>
]]></description>
			<pubDate>Wo, 27 Mrt 2013 15:29:02 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7032&d=0#post37325]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>Most likely you will need loading 2 CSS files at a time. Move all your common CSS rules to a file called e.g. css/base.css and connect it via MY_SKIN.rc.php:</p>

<pre class="brush:php;">
cot_rc_add_file($cfg['themes_dir'].'/'.$usr['theme'].'/css/base.css');</pre>

<p>Then put all colour-specific styles to appropriate files like css/blue.css, css/green.css, etc. and connect them the old way in header.tpl:</p>

<pre class="brush:xml;">
{HEADER_HEAD}
&lt;link rel="stylesheet" type="text/css" href="https://www.cotonti.com/{PHP.cfg.themes_dir}/{PHP.theme}/css/{PHP.scheme}.css"&gt;</pre>

<p>There's a more tricky way using <a href="http://www.cotonti.com/reference/cotonti/package-functions.html#cot_rc_link_file()">cot_rc_link_file()</a> in MY_SKIN.php, but the above should just work.</p>
]]></description>
			<pubDate>Wo, 27 Mrt 2013 14:33:31 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7032&d=0#post37322]]></link>
		</item>
		<item>
			<title>Hodges</title>
			<description><![CDATA[<p>Hi Trustmaster,</p>

<p>I cannot seem to get this to work. I've created, say, green.css, blue.css and placed alongside default.css in /themes/MY_SKIN/css/. I've also added those css files to MY_SKIN.php:</p>

<pre class="brush:php;">
&lt;?PHP
/* ====================
[BEGIN_COT_THEME]
Name=MY_SKIN
Schemes=default:Default,blue:Blue,green:Green,monochrome:Monochrome
[END_COT_THEME]
==================== */

defined('COT_CODE') or die('Wrong URL');

?&gt;</pre>

<p>Upon selecting it in my profile no change occurs. 'blue.css' does not appear in the header in the source. Is there a magical tag missing somewhere to get this included?</p>

<p>The MY_SKIN.rc.php file seems to have 'default.css' hard-coded. Should there be a line such as:</p>

<pre class="brush:php;">
cot_rc_add_file($cfg['themes_dir'].'/'.$usr['theme'].'/css/'.$usr['scheme'].'.css');</pre>

<p>Cheers,<br /><span style="line-height:1.6em;">Hodges</span></p>
]]></description>
			<pubDate>Wo, 27 Mrt 2013 10:58:42 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7032&d=0#post37317]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>
	That's pretty fine, you can use a structure like that plus create a few stylesheets which override some colors, so you can add 'light.css' and 'dark.css' to that family and define some colors/backgrounds there (with !important override if necessary). Also don't forget about @import statement.</p>
]]></description>
			<pubDate>Ma, 06 Aug 2012 17:44:29 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7032&d=0#post35087]]></link>
		</item>
		<item>
			<title>Kingsley</title>
			<description><![CDATA[<p>
	^^ Call me a noob, but I am a person that uses multiple css files (coz I truly do not like large css files. like to keep it organized..)</p>
<p>
	Usually I end up with a smal list:</p>
<ul><li>
		default</li>
	<li>
		index</li>
	<li>
		pages</li>
	<li>
		header</li>
	<li>
		footer</li>
	<li>
		forums and</li>
	<li>
		users</li>
</ul><p>
	You probably are going to tell me that a) having 1 less css files makes shit react faster, and b) whatever resaon.. :)</p>
<p>
	will this work with how I like to work?</p>
]]></description>
			<pubDate>Ma, 06 Aug 2012 07:06:01 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7032&d=0#post35082]]></link>
		</item>
		<item>
			<title>Trustmaster</title>
			<description><![CDATA[<p>
	Given that you have 3 files in <em>themes/your_theme/css</em> folder: default.css, light.css and dark.css, you can use them as color schemes:</p>
<pre class="brush:plain;">
[BEGIN_COT_THEME]
Name=YourTheme
Schemes=default:Default,light:Light,dark:Dark
[END_COT_THEME]</pre>
<p>
	So you use CSS file names as keys and give them some titles, all comma separated.</p>
]]></description>
			<pubDate>Ma, 06 Aug 2012 04:55:03 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7032&d=0#post35081]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<p>
	Thanks for the reply, but it's actually not what i'm looking for.<br /><br />
	The first bit you explained is for customizing a TPL for different pages or categories, and the second is a plugin to specify a theme for a specific device.</p>
<p>
	I'm wondering how exactly different colour schemes can be used on themes.<br />
	Cotonti has a config option for it, but how can it be used?</p>
<pre class="brush:php;">
[BEGIN_COT_THEME]
Name=Nemesis
Schemes=default:Default
[END_COT_THEME]</pre>
]]></description>
			<pubDate>Ma, 06 Aug 2012 03:06:34 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7032&d=0#post35079]]></link>
		</item>
		<item>
			<title>elfrenazo</title>
			<description><![CDATA[<p>
	create category, then go to / modules / pages / tpl</p>
<p>
	example: page.list.tpl</p>
<p>
	create games category: page.list.juegos</p>
<p>
	personalize your .tpl</p>
<p>
	---------------------------------------------------------------</p>
<p>
	another option --&gt; change themes</p>
<p>
	<a href="http://www.cotonti.com/extensions/mobile-geolocation/mobiswitcher-plugin">http://www.cotonti.com/extensions/mobile-geolocation/mobiswitcher-plugin</a></p>
<p>
	to the topic name in the configuration, up to three</p>
<p>
	----------------------------------------------------------------</p>
<p>
	I hope that helps</p>
<p>
	 </p>
]]></description>
			<pubDate>Ma, 06 Aug 2012 02:54:36 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7032&d=0#post35078]]></link>
		</item>
		<item>
			<title>Twiebie</title>
			<description><![CDATA[<p>
	Themes can have different colour schemes, but how exactly does this work?</p>
<p>
	I did a search on the website here but didn't find much information on the subject.</p>
<p>
	Can someone point me in the right direction or answer the question here?</p>
<p>
	Thanks.</p>
<p>
	Oh btw - since skins are called themes nowadays with Siena, maybe it's better to change the forum category name. :)</p>
]]></description>
			<pubDate>Ma, 06 Aug 2012 01:58:28 -0000</pubDate>
			<link><![CDATA[https://www.cotonti.com/nl/forums?m=posts&q=7032&d=0#post35076]]></link>
		</item>
	</channel>
</rss>