Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CanCan't upload modified skin
Previous
 
Next
New Post
1/26/2009 11:34 PM
 

I am new to DNN and I am trying to learn how to create skins for DNN 5.0.  (Nothing fancy, would just like to be able to make a simple skin.)  I have bought a number of books but every sample skin code I find in books gives me an "Invalid File Extension" message (I assumed because the books are all 4.x versions of DNN). 

I thought the best approach would be to make some very minor changes to an existing 5.0 skin. I downloaded a free DNN 5.0 skin and unzipped it into a folder.  I then made a very minor change to the ascx file in Visual Studio 2008.  The skin I downloaded had a LeftPane and a ContentPane.  I made only one change.  I cloned the LeftPane and renamed it RightPane.

I then saved it back to the folder and rezipped the folder.  When I uploaded it to my portal on DNN, I get "Invalid File Extension" message and it willnot install.  I then tried the original unedited zip file and it worked fine.  I then tried unzipping the original skin folder and rezipping it WITHOUT MAKING ANY CHANGE.  Again I got the "Invalid File Extension" message.

Again I took the copy of the original zipped file I had downloaded and again that copy worked fine.  Does one have to do something special when zipping the files. Is it possible that there are compatibility issues among zip programs?  What zip programs work for sure? 

Has anyone else had similar problems and how did you resolve the problem?

Thanks in advance.

 

 
New Post
1/27/2009 8:59 AM
 

Sounds like you may be adding the folder to your zip rather than all the contents of the folder.  Open your re-zipped file and compare to the original.

Jeff

 
New Post
1/27/2009 9:40 AM
 

No, that is not it.  I zipped at the file level and have compared the contents of the new zipped file to the original zipped file.  Looking at the zip file contents, both have the same structure.  I use 7-Zip as my zip utility (but with the zip file extension) and I am wondering if that could be causing the problem.

I am also wondering if there is somethingin the structure of downloaded skin files that cause them to break if you modify one of the files.

 
New Post
1/27/2009 4:36 PM
 

I use 7-zip with no trouble, but try a Send To...Compressed Folder anyway.  You've not made a copy of any of the files and called them something like index.ascx.old?  Make sure that the files in the zip match the manifest (the file list in the .dnn file).

 
New Post
1/27/2009 6:07 PM
 

All the file names match 100%.

I have tried both ways, including Send To ... Compressed Folder.  The thing I find strange is that when I do nothing but unzip the downloaded zip file and then simply rezip them (I am simply highlighting all the files in the unzipped folder and then selecting Send To ... Compressed Folder), when I try uploading and installing that copy of the zip file I get the invalid file extension warning, but when I upload and install the original file, it works fine.

When I compare the content of the two zip files, they have the same names, the same size and the same files inside.

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...CanCan't upload modified skin


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out