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, ...Skin UpdateSkin Update
Previous
 
Next
New Post
12/17/2007 1:08 AM
 

Hi,

I modifed the Skins - Horizontal Menu - Fixed Width.ascx  control as per my project requirement, its working while running the project, then i  zip the folder  ( folder name is TEST) and  upload the skins zip folder through the skins upload, the uploading of skins is successful, the folder is placed in Portal. Here problem is when im applying the skin it doesnt displayed what im modified in Horizontal Menu - Fixed Width.ascx control, so,i check the Portal - TEST(Skin Folder) in that Horizontal Menu - Fixed Width.ascx it doesnt contains what i modified, it remains old one.

Can u please give me solutions or suggestion for the above problem...................

Thanks & Regards,

Ramesh Naidu

 

 

 

 

 

 
New Post
12/18/2007 6:57 PM
 

Hi Ramesh,

When you upload a skin package that contains HTML and XML files, those files with be parsed by the portal and converted into the ASCX files that are used as the skin - even if the ASCX file are already present - it will overwrite them.

You should either make your changes to the HTML and XML files instead of the ASCX files, or only modify the ASCX files and remove the HTML and XML files from the package and the server.

Or you can modify the files directly on the server. If you do that with the html/xml files, then you must click the Parse Skin link on the skins page to trigger the conversion process. Or, if you modify the ASCX files live on the server, then make sure you don't click that link or you will overwrite the changes.

Rob

 
New Post
12/23/2007 11:12 AM
 

Hi,

I am running into the trouble of having to create semi-redundant skins every time I make a revision.  btw, I'm developing on my localhost.  Is there any way technique or way of avoiding having to create a new skin every time I change the .html file for my skin.  Correct me if I'm wrong, but you alluded to the fact that if you use .html files for your skins instead of .ascx files, that you can overwrite the installed version of the skin.  I'm ending up with a heap of available skins to be applied to my portal.  Are there any files that you can overwrite after the skin package has been parsed and installed?  Is there a way of avoiding having a line up of incrementally modified skins? 

Thanks,
Rodriguez

 
New Post
12/23/2007 4:41 PM
 

hmm I thought I recalled that uplading a skin of the same name would cause any existing skin and container files to be overwritten so long as they still have the same name. If it's not letting you upload a skin of the same name then you might have to delete the one that's there first and upload the new one.

Actually, now that I think about it, I do recall that the skins page now has a warning about skins in use. I haven't used this method myself for a couple of years now. Perhaps it has changed and doesn't let you overwrite the current skin.

In any case, if you're working locally, simply modify the html and xml files directly in the portal. Then go to the skins page and parse the skin to convert the html and xml to ascx.

I would only work on the HMTL files if you were trying to create a skin package to give or sell to others so that they can edit as html. If this were for myself I would just work on the ascx files directly on the portal. That is the quickest way of making changes and seeing them live. Just remember to remove the html files from teh skin incase you accidentally parse the skin and lose your edits.

So, to answer your last question: The only thing that parsing does is create the ascx files. Edit those files directly on the portal and do not re-parse the skin.

 

Rob

 
New Post
1/2/2008 8:06 AM
 

Rob is correct, you cannot overwrite the current skin with DNN

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Skin UpdateSkin Update


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