I created an RC2 "Curve" variant theme but im having trouble loading it.
After i load it to my forum and select it in my profile, it shows: "Unable to load the 'main_above' template."
I have these folders and its files...
-CSS
-images
-languages
-scripts
and the files,
-index.php
-index.template.php
-theme_info.xml
Is there something wrong with this?
<?xml version="1.0"?>
<theme-info xmlns="http://www.simplemachines.org/xml/theme-info" xmlns:smf="http://www.simplemachines.org/">
<!-- Theme name, used purely for aesthetics. -->
<name>simpleB&W</name>
<!-- Author: your email address or contact information. The name attribute is optional. -->
<author name="BlueDevil">[email protected]</author>
<!-- Website... where to get updates and more information. -->
<website>http://www.simplemachines.org/</website>
<!-- Template layers to use, defaults to "main". -->
<layers>html,body</layers>
<!-- Templates to load on startup. Default is "index". -->
<templates>index</templates>
<!-- Base this theme off another? Default is blank, or no. It could be "default". -->
<based-on></based-on>
<id>bluedevil:simpleB&W</id>
</theme-info>
For some reason when loading the new theme in Admin, is not showing (RC2) next to the theme's name in "Theme Settings".
Its because in the server when looking at the new theme's folder, is showing the index.template.php, index.php and template.info and some images empty at 0kb.
It seems the ZIP is not saving the folders and files right. Any ideas?
What program are you using to compress the theme. How are you compressing it Zip, BZip, or GZip?
Quote from: ethankcvds on November 23, 2009, 06:58:04 PM
What program are you using to compress the theme. How are you compressing it Zip, BZip, or GZip?
Im using WinZip and compressing it as Zip.
It doesn't like the & in the theme name.
Quote from: Arantor on November 23, 2009, 07:10:27 PM
It doesn't like the & in the theme name.
I changed the name and the same thing happens. How about capital letters?
And the ID too. & isn't normally permitted in XML because it means something else too.
Heres my current one....
<?xml version="1.0"?>
<theme-info xmlns="http://www.simplemachines.org/xml/theme-info" xmlns:smf="http://www.simplemachines.org/">
<!-- For the id, always use something unique - put your name, a colon,
and then the package name. -->
<id>bluedevil:BlueSkies</id>
<version>2.0 RC2</version>
<!-- Theme name, used purely for aesthetics. -->
<name>BlueSkies</name>
<!-- Author: your email address
or contact information. The name attribute is optional. -->
<author name="BlueDevil">[email protected]</author>
<!-- Website... where to get updates and more information. -->
<website>http://www.curvevariations.com/</website>
<!-- Template layers to use, defaults to "html,body". -->
<layers>html,body</layers>
<!-- Templates to load on startup. Default is "index". -->
<templates>index</templates>
<!-- Base this theme off another? Default is blank, or no. It could be "default". -->
<based-on></based-on>
</theme-info>
This what ive done....
I copied the index.template.php, index.php to my new theme.
Also copied the images folder with everything in it except the mainblock.png and the gfx.png. I replaced them with my own.
Same with the CSS folder.
Im thinking the problem here is the theme.info
And that's saved as theme-info.xml in the top directory of the zip archive?
Quote from: Arantor on November 23, 2009, 07:19:39 PM
And that's saved as theme-info.xml in the top directory of the zip archive?
At the moment its called theme_info
Hmmm..... ill try your way.
Nope. That didnt work.
The 3 main files are still shown as 0kb in the server.
Can you attach the theme zip file here please?
here..
Have to say I'm mighty confused. I don't get why it's doing that, sorry :(
Quote from: Arantor on November 23, 2009, 07:47:22 PM
Have to say I'm mighty confused. I don't get why it's doing that, sorry :(
Did you find everything correct? Where you able to load it and see "'main_above' template." ??
No, it doesn't work for me either but I have no idea why.
Quote from: Arantor on November 23, 2009, 07:55:41 PM
No, it doesn't work for me either but I have no idea why.
That sucks. lol.
You know, im using the WinZip "Evaluation Version". Is this a problem?
Don't think so, I was able to open the zip just fine. Might want to try 7-zip though...
Quote from: Arantor on November 23, 2009, 08:22:41 PM
Don't think so, I was able to open the zip just fine. Might want to try 7-zip though...
Im using WinZip 14. I investigated a bit further, i downloaded a theme from the them site, unzipped it and zipped it back up. Then loaded into my forum and it didnt work.
Is there a setting that i dont know about in winzip?
Maybe. Though I know others have had problems, which is why I suggested 7-zip (since I know that works reliably with SMF's unpacking system)
Quote from: Arantor on November 23, 2009, 10:31:10 PM
Maybe. Though I know others have had problems, which is why I suggested 7-zip (since I know that works reliably with SMF's unpacking system)
7-Zip worked. Thank you. Just need to get used it.