3
votes

I've created a dotnetnuke. I have two files named index.ascx and index.html that as you know index.ascx is made after the parsing of DNN.

Question: Do I still need the index.html after the skin is parsed by dotnetnuke?

3

3 Answers

3
votes

you do not need the html unless you intend to access the file on your server and edit it. Once you edited the html file, you can then parse the skin again to reproduce the ASCX. other than that it serves no purpose sitting on the server

3
votes

You do not need the .html file on the webserver, it is not used for anything after the skin has been converted to .ascx.

You probably want to keep it on your local machine however. It depends on how you plan to implement any changes to your skin. If you want to change the .ascx directly then you don't need the .html any more. If you want to make changes in the .html and then regenerate the .ascx, yes of course you still need it.

Personally I always create skins in .ascx straight away and skip the .html step - then you don't have to worry about the converter getting it wrong.

0
votes

.HTML files usually aids a skin designer. You can keep it local and open it on normal browser to get the idea of the layout. On other hand .ascx file is everything