Forums / Cotonti / Support / Theme Problem

Copied nemesis theme and tweaked things and it does not work

jayburt
#1 2011-04-07 17:35

I came across contonti and decided to give it a try and wanted to do a theme. I copied the nemesis folder and came it a name. I then went inside the new folder and started renaming things from nemesis to the name I gave my theme (jayburt). 

I had a site I had been building with php, html, and css so I decided to use that as my theme. I went in and pulled information and formatted it just like nemesis. I got all the way done and decided to try to make it my theme through the config.

I changed 

$cfg['defaulttheme'] = 'nemesis';

to

$cfg['defaulttheme'] = 'jayburt'; 

and then I hit refresh on my browser and was greeted with this:

	Title of your site
	2011-04-07 17:14

	Fatal error: Default scheme not found.

#0  cot_diefatal(Default scheme not found.) called at [C:\Program Files\xampp\htdocs\cotonti\system\common.php:501]
#1  require_once(C:\Program Files\xampp\htdocs\cotonti\system\common.php) called at [C:\Program Files\xampp\htdocs\cotonti\index.php:35]

 

I have tried to look for docs and search on the site here but have found nothing describing my problem. I can change the config back to nemesis and everything works. Now if I change the config to some random word for my theme I get the same error as above. So Cotonti not finding my theme folder or are they cached and need to delete the cache so it finds my theme folder? Thank ahead of time for the help.

This post was edited by jayburt (2011-04-07 17:38, 13 years ago)
Xerora
#2 2011-04-07 22:04

Do you have a css file somewhere in that theme ? It has to be either called style.css or the name of the default scheme in jayburt.php

It can be any of the following:

./themes/jayburt/style.css

./themes/jayburt/default.css

./themes/jayburt/css/default.css

This post was edited by Xerora (2011-04-07 23:03, 13 years ago)
jayburt
#3 2011-04-08 12:57

Thank you Xerora! 

I noticed that the symisun-03 theme doesn't follow those guidelines but has a css file named after the theme, is this also valid instead of a default.css file? If so is there anything else I have to do to make that work or make it not look for a default.css and look for a different named css file?

Thanks again Xerora, I have it working right now using my reset css file named default.css.

Trustmaster
#4 2011-04-08 14:47

You are right, theme_name.css is supported too.

May the Source be with you!