I am having trouble configuring skin objects in my skin.ascx file using settings stored in skin.xml. Is there anything special that I need to do?
Let's say I have a directory called MySkinPackage, which has the following files in it:
MySkin1.ascx
MySkin2.ascx
skin.css
skin.xml
I have a skin object in MySkin2.ascx which I want to configure with settings stored in skin.xml.
skin.xml has the following:
<Objects>
<Object>
<Token>[MySkinObject]</Token>
<Settings>
<Setting>
<Name>NameOfSetting</Name>
<Value>False</Value>
</Setting>
<Setting>
<Name>NameOfAnotherSetting</Name>
<Value>False</Value>
</Setting>
</Settings>
</Object>
</Objects>
I've read the Skin Developer's Guide, and believe I understand it (although I'm not certain how relevant it is to DNN4.9), but when I put the desired configuration into my skin.xml file, nothing changes on the test page where I am demoing MySkin2.ascx. I think that the framework is just ignoring the skin.xml file. Do I need to do something special to get it to use the configuration? I've tried re-parsing the package a few times, to no avail.