\test-theme
* contents.rdf
* preview.png
* \communicator\...
* \editor\...
* \global\...
* \messenger\...
* \navigator\...
zipped up into test-theme.jar.
My contents.rdf file is:
Code: Select all
<?xml version="1.0"?>
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:chrome="http://www.mozilla.org/rdf/chrome#">
<!-- List all the skins being supplied by this theme -->
<RDF:Seq about="urn:mozilla:skin:root">
<RDF:li resource="urn:mozilla:skin:test-theme/1.0" />
</RDF:Seq>
<RDF:Description about="urn:mozilla:skin:test-theme/1.0"
chrome:displayName="My Test Theme"
chrome:accessKey="T"
chrome:author="WeSaySo"
chrome:description="Testing Theme for WeSaySo"
chrome:name="test-theme/1.0"
chrome:image="preview.png">
<chrome:packages>
<RDF:Seq about="urn:mozilla:skin:test-theme/1.0:packages">
<RDF:li resource="urn:mozilla:skin:test-theme/1.0:communicator"/>
<RDF:li resource="urn:mozilla:skin:test-theme/1.0:editor"/>
<RDF:li resource="urn:mozilla:skin:test-theme/1.0:global"/>
<RDF:li resource="urn:mozilla:skin:test-theme1.0:messenger"/>
<RDF:li resource="urn:mozilla:skin:test-theme/1.0:navigator"/>
</RDF:Seq>
</chrome:packages>
</RDF:Description>
<!-- Version Information. State that we work only with major version 1 of this
package. -->
<RDF:Description chrome:skinVersion="1.1" about="urn:mozilla:skin:test-theme/1.0:communicator"/>
<RDF:Description chrome:skinVersion="1.1" about="urn:mozilla:skin:test-theme/1.0:editor"/>
<RDF:Description chrome:skinVersion="1.1" about="urn:mozilla:skin:test-theme/1.0:global"/>
<RDF:Description chrome:skinVersion="1.1" about="urn:mozilla:skin:test-theme/1.0:messenger"/>
<RDF:Description chrome:skinVersion="1.1" about="urn:mozilla:skin:test-theme/1.0:navigator"/>
</RDF:RDF>
I've uploaded test-theme.jar to a server and have the following link to install it:
Code: Select all
<a href="javascript:InstallTrigger.installChrome(InstallTrigger.SKIN, 'test-theme.jar', 'My Test Theme')">install The Test Theme</a>
Mozilla shows a download progress alert with a checkbox to "Use this theme" and says "Success!" after downloading. My \profile\default\slt\chrome folder now has "test-theme.jar" in it. But the theme is not applied, it does not show up under View | Apply Theme, or give any indication that it is registered and available. I've looked at the unpacked jar for the 20020828 version of morbit for Moz1.1 and my file setup looks the same.
I am doing this only for Mozilla 1.1. No more, no less at this time.
Any help with this problem will be greatly appreciated.