I have successfully made a skin using the HTML-method. Menus and everything is working fine.
But I also wanted to make some of the items on the page customized (translated to Swedish) so I decide to use a skin.xml-file. However, it seems that when uploading it DNN kind of ignores it...
Because when I apply the skin the text for [LOGIN] is still "Login" instead of "Logga in" that I stated in the skin.xml-file. What am I missing here?
Some extracts from the processing:
Initialize processor for skin/container files: Skins :: VIPstory basic
Loaded package level attribute file: Skin.xml
(...)
Processing token: [USER]
Token is skin object: Admin/Skins/User.ascx
Token found in attributes file: [USER]
Formatting control statement: <dnn:USER runat="server" id="dnnUSER" />
Processing token: [LOGIN]
Token is skin object: Admin/Skins/Login.ascx
Token found in attributes file: [LOGIN]
Formatting control statement: <dnn:LOGIN runat="server" id="dnnLOGIN" />
And this is the xml-file:
<Objects>
<Object>
<Token>[LOGIN]</Token>
<Settings>
<Setting>
<Name>Text</Name>
<Value>Logga in</Value>
</Setting>
<Setting>
<Name>LogOffText</Name>
<Value>Logga ut</Value>
</Setting>
</Settings>
</Object>
<Object>
<Token>[CURRENTDATE]</Token>
<Settings>
<Setting>
<Name>DateFormat</Name>
<Value>yyyy-MM-dd</Value>
</Setting>
</Settings>
</Object>
<Object>
<Token>[USER]</Token>
<Settings>
<Setting>
<Name>Text</Name>
<Value>Registrera</Value>
</Setting>
</Settings>
</Object>
</Objects>