Hello everibody,
I'm trying to create a simple skin. I've copied and modified the files of the DNN- Blue skin. The files I have copied are:
- skin.css
- skin.xml
- Vertical Menu-Fixed Width.htm
I've done some simple change to these files and I've add my personal image files.
Then I have packaged all these files in a zip folder. I've uploaded the skin, and no error is appeared. But when I tried to select the skin as the current skin I gave this error:
Server Error in '/DotNetNuke_2' Application.
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /DotNetNuke_2/Default.aspx
and in the address bar there is: http://localhost/DotNetNuke_2/Default.aspx?tabid=201&error=The+Controls+collection+cannot+be+modified+because+the+control+contains+code+blocks+(i.e.+%3c%25+...+%25%3e).&content=0
I have also tried to package the original files of the skin (Vertical Menu - Fixed Width.htm, Vertical Menu - Fixed Width.jpg, skin.css, skin.xml, gradient_LtBlue.jpg, gradient_DKBlue.jpg, breadcrumb.gif). But when I tried to apply this skin I've got this error:
An error has occurred.
DotNetNuke.Services.Exceptions.ModuleLoadException: Object reference not set to an instance of an object. ---> System.NullReferenceException: Object reference not set to an instance of an object. at DotNetNuke.UI.Skins.Controls.TreeViewMenu.BuildTree(DNNNode objNode, Boolean blnPODRequest) in C:\DotNetNuke_2\Website\Admin\Skins\TreeViewMenu.ascx.vb:line 309 at DotNetNuke.UI.Skins.Controls.TreeViewMenu.Page_Load(Object sender, EventArgs e) in C:\DotNetNuke_2\Website\Admin\Skins\TreeViewMenu.ascx.vb:line 422 --- End of inner exception stack trace ---
So, I'm very confused.
Can anyone please help me? I've forgotten to insert some file in the package folder? Why packaging the original files the skin doesn't work? It seems very strange....
Thank you!